<< Using client appointment objects  >> Show source code for this site
This example shows how the calendar supports client Java Script for reading an information about last clicked appointment, resource or date-time.
Click somewhere on the calendar.


Selected appointment get_SelectedAppointment():
Text get_Text():
Start Date get_Start():
End Date get_End():
All day get_AllDayEvent():
ID get_AppointmentId():
Busy color get_BusyColor():

Selected resource get_SelectedResourceIndex():
Text get_Text():

Selected date-time get_SelectedDateTime():
Date & time:

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.