Thursday, January 13, 2011

ASP.NET Ajax Calendar

Calendar is a handy feature in booking systems and is one of the comprehensive features integrated in ASP.NET 3.5.
First, you should download Ajax Control Toolkit
(remember to copy the AjaxControlToolkit.dll into the /bin folder of the web site application.)

Then, add the toolkit into the Visual Studio, see get started with the Ajax Control Toolkit (C#)
  • On the Toolbox window, right click and select "Add Tab", the tab name as "AJAX Control Toolkit"
  • Right click on the tab, select "Choose Items", then browse the directory where you put AjaxControlToolkit.dll, select it.

Last, implement calendar in your program, see Display a simple popup calendar
Calendar Samples shows several calendar types using Ajax Control Toolkit
  • Add a ToolkitScriptManager
  • Add a Textbox
  • Add a CalendarExtender

No comments:

Post a Comment