today will talk about a really useful web development library, called the Ajax Control Toolkit.
“The AJAX Control Toolkit is a joint project between the community and Microsoft. Built upon the ASP.NET 2.0 AJAX Extensions, the Toolkit aims to be the biggest and best collection of web-client components available. The Toolkit addresses three needs. First it gives website developers a place to get components to make their web applications spring to life, second it gives a set of great examples for those wishing to write client-side code, and third it is a place for the best script developers to get their work highlighted.”
In short, the library consists in a set of ASP.NET controls to develop web application with ajax in a very simple way. For example, inside the library you will find:
- Auto complete
- Drag panel
- Modal popup
- Textbox watermark
To use all of this controls, you just need to download the library and include in your Visual Studio Toolbar. So, you will be able to see the controls and drag and drop them inside your application.
All the extender controls (controls that add functionalities to an another existing control) have a commun atribute called TargetControlID, which identify the extended control. So, in the most of situations, all you have to do is to set this attribute value as shown in the Calendar example below:
<ajaxToolkit:Calendar runat="server" TargetControlID="Date1" CssClass="ClassName" Format="MMMM d, yyyy" PopupButtonID="Image1" />
More information and examples here. See you