Search

Categories

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Send mail to the author(s) E-mail

# Wednesday, 07 July 2010
( Tools )

http://techie-buzz.com/utilites/top-free-utilities-to-rename-multiple-files.html

Free Utility called:

Den4b Renamer

Here I am removing (Custom) from filenames.  Awesome tool.

image

| | # 
# Saturday, 22 May 2010
( Telerik | Tools )

Here is the blurb:

Telerik RadControls for ASP.NET AJAX includes more than 60 controls with proven reliability that help you build high-quality, professional line of business web applications. From the leading AJAX data grid to the full-featured HTML editor used by Microsoft on sites like MSDN, you have all the building blocks for maximizing productivity and creating rich, SEO-friendly, high-performance Enterprise web applications.

or what I read this as:

Helps you make business web apps.

Cost is about USD$1000 ish.

After the install it gives you a new menu in VS2008:

image

Can add a skin..

 

Having a look at the Examples

c:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2010\Live Demos

**Explore the project examples for LinqToSQL and DataGrid

Opened the sln file in VS2010 (it didn’t seem to like vs2008, which is fine – gives an excuse to start playing with 2010!)

compile time took ages! And didn’t work.  Nice.

image

MyBusinessObjectCollection is not defined

Read the Documentation?

If all else fails, read the documentation (installed on the local machine).  Same as online.

image

 

Looking at tv.telerik.com

RADScheduler – scheduling.   Very feature rich!

image

sln in \code\telerik\scheduler

Trying the courseware:

http://www.telerik.com/support/documentation-and-tutorials/step-by-step-tutorial-for-ajax.aspx

Hmm – broadband going at snails pace here in NZ at night time.. 90mb download.

How I love having lots of memory :-)

image

image

RadMenu, RadToolBar, RadTabStrip

image

C:\Documents and Settings\dave\My Documents\downloads\RadControlsAJAXCourseware\Courseware_Projects\Navigation\CS

Lots of good examples!

image

image

Multipage

image

RadColorPicker

RadCalendar

Navigation / ServerLocatingItems

image

image

RADToolBar, RadPanelBar

Nav / ServerSide

making the navigation on the server dynamically

image

image

notice RADAjaxManager.. displays a popup after postback.

ServerSide2

image

 

ServerTags

RADTabStrip

image

 

Input / Getting Started

Couldn’t find Telerik.Charting.. so commented out in web.config.

image

image

RadMaskedText, RadNumericText, RadDateInput

 

Input / ClientAutoComplete

image

ie press f then tab, and it completes.

image

Just javascript on the onChange event.

 

Input / ClientErrorHandling

image

Javascript on the client. 

RadMaskedTextBox, RadNumericText, RadDateInput.

 

Input / HowToSpellCheck

didn’t work.. but cool functionality.

Input / HowToValidators

image

Just using classic asp validators.

 

Client Side API / Events

image

EventsWalkThrough

image

When hover over, it does some js.

JSON

WebService and JSON

image

sends a date to the webservice, then returns then date with an int of 123.

 

UI and Information Controls / Getting Started

image

RADFormDecorator (skin of Hay)

RADToolTipManager

image

FormDecorator (Forest)

ClientLogin

image

ClientSide

image

HowToImageMap

image

Images came sliding in.  They are actually tooltips, being animated within the tooltip.

ServerAJAXUpdate

image

tooltip  updating on ajax?

ServerSide

image

 

RadRotator / Getting Started

image

using an xml data source.  RadRotator… which uses XPath statements to get the correct data from the xml.

 

HowToDetailsTAble

image

HowToRSS

image

straight from an xmldatasource.

scrolls automatically.

AJAX / Getting Started

image

Bottom calendar is using Ajax.

ScriptManager, RadCalendar, RadAjaxLoadingPanel

AJAX Settings

Getting an assembly mismatch

Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I changed out the

<!--<add assembly="Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>-->
        <add assembly="Telerik.Web.UI" />

image

and when I do show time it does an ajax call.

Uses Telerik AJAX Manager.

Creates stuff on the fly:

image

 

Client API

image

doing in js.

c# is passing a literal control back to the client.

Client API2

image

Dynamic Controls 1,2,3,4

image

user controls (ascx)

then progressivly running more in ajax

then IDynamicControl

ActiveSkill / Getting Started

image

Getting into it – although pass through authentication / db auth.. causing issues.  Made a user called DAVEXPLAPTOP\ASPNET 

image

May have been easier to use network service like above.

 

Setting up the database for membership:

image

Pointing the web.config to the correct database (ActiveSkill on sqlexpress)

image

Setting up the correct roles.

image

After successfully creating a user, then logging in.  I did it again and got:

image

So, moving on through the examples.!

RealEstate / Getting Started

RadWindowManager

image

Drag and drop.

Skins / Getting Started

image

Databinding / Getting Started 1

Database connection string was causing issues.. this worked for me:

<add name="NorthwindConnectionString" connectionString="Data Source=DAVEXPLAPTOP\SQLEXPRESS;AttachDbFilename=C:\NORTHWND.mdf; Database=northwind; Trusted_Connection=Yes"  providerName="System.Data.SqlClient" />

 

image

image

Here the SQL is right in the aspx page in the SqlDataSource… ie select blah from Catgories.

Tidied up the database location:

<add name="NorthwindConnectionString" connectionString="Data Source=DAVEXPLAPTOP\SQLEXPRESS;AttachDbFilename=C:\Program Files\telerik\RadControls for ASP.NET AJAX Q1 2010\App_Data\NORTHWND.mdf; Database=northwind; Trusted_Connection=Yes"  providerName="System.Data.SqlClient" />

 

Databinding / Getting Started 2

ToDO!

| | # 
# Friday, 30 April 2010
( Tools )

Bug/Issue Trackers

Confluence / Jira issue

Fogbugz

 

Mocking:

balsamiq – integrates into confluence/jira/fogbugz

 image

Screen Capture in WinXP - cropper

| | # 

http://www.sourcegear.com/fortress/

An Application Lifecycle Management tool.

Version Control based on Vault.

Work Item Tracking

Admin Web Front End:

image

There is a repo front end

image

VS Integration (Work Item Tracking)

image

http://support.sourcegear.com/

How to Add a Solution into Source Control

Make sure VS knows about Fortress:

image

Right click solution file in VS and do add to

image

Easy to add in files and see diffs within VS.

image

Doing a change to a file which is in source control (page2).

Working With Tasks

image

Here I am checking in some code against a feature request.

image

Something which I find confusing is why are there 2 unresolved tasks in ‘Get bones of the site working’, and I click on them and it shows:

image

Here the status of the tasks are both Completed.

 

Overall I get what it is doing, and am about to use it for real in a project now.

| | # 
# Thursday, 22 April 2010
( Tools )

Have heard a lot about this, so am trying it out:

image

can specify the dimensions of the page eg 1024.

link bar.

 

first try of mocking up.. ok so paid the license which was super easy.  And within 2 hours I’d sent off the mockups I wanted to my project collaborator.

| | # 
# Thursday, 15 April 2010
( Tools )

image

Tools, Options.. Always show solution :-)

| | # 
# Thursday, 28 January 2010

Am using publish web.. and automated build script so web.config is correct for dev and live.  Needs to be a Web Application, and not a Web Site.

http://www.hanselman.com/blog/ManagingMultipleConfigurationFileEnvironmentsWithPreBuildEvents.aspx

Differences between Web Sites and Web Applications http://www.codersbarn.com/post/2008/06/ASPNET-Web-Site-versus-Web-Application-Project.aspx

Also if doing more than one pre-build call need to do this:

call "$(ProjectDir)copyifnewer.bat" "$(ProjectDir)web.config.$(ConfigurationName)" "$(ProjectDir)web.config"
call "$(ProjectDir)copyifnewer.bat" "$(ProjectDir)LoggedIn\web.config.$(ConfigurationName)" "$(ProjectDir)LoggedIn\web.config"

Also I got an error in dev, where my debugging wasn’t working properly.  Had to tick debug info to full here.

image

to do – possibly abstract out the connection string settings (and anything else dev/live specific) into another file, so the actual Web.config can be changed by VS easily.

In Visual Basic the interface is slightly different however it is in there!

| | # 
# Tuesday, 24 November 2009
( Tools )

A very annoying error in VS2008, when trying to open VS2005/VS2005 Express web projects…

From: http://forum.strataframe.net/Topic20774-14-1.aspx

The solution was to right click on the solution file and click open with.  Navigate to "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" and click to open.  The conversion wizard runs and the project will then open.

| | # 
# Friday, 03 July 2009
In preparation for JPBoodhoo's course in Sydney in a months time, I'm looking at the tooling he recommends and going through this videos on dnrtv.com

this is going to be an ongoing list of ideas for me refer to.. excuse the mess!

Setting up Subversion
http://www.west-wind.com/presentations/subversion/

Console2 - console with an alpha transparency
AltTab - alt tab replacement
Resharper4.5 - makes VS2008 faster
Testdriven.net - unit testing easier
mbunit - unit testing framework


Keyboard shortcuts

Testdriven.net - bound to  in VS2008, Tools, Options, Keyboard.  testdriven.net.runtests.. Ctrl-Shift-Alt-T
rerun tests is to testdriven.net.reruntest.. Ctrl-Shift-Alt-R

Resharper
Ctrl-Alt-v  - introduce variable (highlight and it gens the variable)
Alt-Int - generate constructor and..... from an interface
F2 - rename

| | #