<<
Day properties demo
>>
Show source code for this site
The calendar supports changing control width. Try to expand or shrink the size of the web browser window, and notice the width of the calendar is constantly adjustment to the newest window width. Another property allows defining a number of simultaneously displayed days in calendar: VisibleDays:
'Next' and 'Previous' day buttons can also be hidden or displayed:
CalendarViewOptions.ShowDateNavigator:
A rectangle containing all-day appointments can also be hidden or displayed:
CalendarViewOptions.ShowAllDayRectangle:
If you would look into a
source code
for this demo, click on the link.
For demonstration purposes all appointments displayed on a calendar are stored in ASP.NET session objects, so original values are restored immediately after a new session object is created.
A list of appointments and resources is intialized every time a new session is started.