Showing posts with label Calendar Extender. Show all posts
Showing posts with label Calendar Extender. Show all posts

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