Showing posts with label AjaxControlToolkit. Show all posts
Showing posts with label AjaxControlToolkit. Show all posts

Saturday, June 7, 2008

Ajax .Net II : Setting up Ajax Control Toolkit controls

Ajax Control Toolkit is an shared source project from Microsoft.

Ajax .Net Extension Control comes packed with Visual Studio 2008, but not Ajax Control Toolkit Controls.

For accessing Ajax Control Toolkit you have to download Ajax Control Toolkit from www.asp.net/downloads.



















You can download Ajax Control Toolkit with or without source code.




















Unzip the Ajax Control Toolkit to a folder.

Add a new new tab to the Visual Studio 2008 toolbox give it a good name like say 'Ajax Contol Toolkit'.
Right click the newly added tab and choose Add item. Go to Browse tab, navigate to the folder where you unzipped the Ajax Control toolkit.
Navigate to Sample Web Site directory and navigate to bin folder. Select AjaxControlToolkit.dll.




















Click Open.
Now all the Ajax Control Toolkit controls will appear in the newly created toolbox.

























Related Blogs

Ajax .Net I : Extension Controls in Visual Studio 2008

Ajax .Net III : CalendarExtender Control

Ajax .Net VI : ConfirmButtonExtender




Happy Programming
shalvin.com

Tuesday, June 3, 2008

Ajax .Net III : CalendarExtender Control

Ajax .Net Extender Controls are those controls that extend an Asp .Net Control by the way giving rich Ajax functionality.

Calendar Control extends Asp .Net so that the TextBox can be used for selecting date.
























Start A new website in Visual Studio 2008 or Ajax Enabled WebSite in Visual Studio 2005.
In the case of Visual Studio 2005 the Script Manager will available by default.
In Visual Studio 2008 you have to add a Script Manager.
Add a TextBox which you want to add Calendar support. Add CalendarExtender to the form.




















Set TargetControlId of CalendarExtender to TextBox1. Now when you run the application you will see a textbox as shown in the figure above.

It is that easy to enable date selection functionality to an textbox using CalendarExtender control.

Related Blog

Ajax .Net I : Extension Controls in Visual Studio 2008

Ajax .Net II : Setting up Ajax Control Toolkit controls

Ajax .Net III : CalendarExtender Control

Ajax .Net IV : TextBoxWaterMarkExtender

Ajax .Net VI : ConfirmButtonExtender