RadCalendar for ASP .NET version
RadControls for ASP .NET AJAX version
2.x and later
2008.1.415 and later
2.0 (RadCalendar for ASP .NET)
2.0 and later (RadControls for ASP .NET AJAX)
|Visual Studio version
2005/2008 (RadCalendar for ASP .NET)
2005 and later(RadControls for ASP .NET AJAX)
all supported by RadCalendar for ASP .NET
all browsers supported by RadControls for ASP .NET AJAX
The project demonstrates how you can achieve selecting only of a day or a week with RadCalendar. It consists of three pages, covering the different calendar modes:
- ClientSide.aspx - when the calendar works in client-side mode (AutoPostBack="false"
). On every click (a day or a row header) we need to clear the previous selected date(s) and select only the desired one(s) (a clicked day or a corresponding week days) as we use the OnDateClick
client-side events for that.
- ServerSideCS.aspx - when the calendar is making postback requests on every selection (AutoPostBack="true"
). Concerning the selection mechanism (first the date selection is performed on the client and then a postback to the server is triggered) we process the proper day(s) selection in the SelectionChanged
server-side event depending on the number of the days in the SelectedDates
- ServerSideVB.aspx - the same as the above one in VB.Net code
There are a lot of comments in the pages code for detailed description of the project work.