<< MS AJAX co-operation  >> Show source code for this site
August 28
ErnestPeterSonya
Select date in the linked calendar for changing content of the DailyCalendar control. Notice, the linked calendar changes its selected date after daily calendar date navigation was performed as well:
<August 2008>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

List of all appointments showing in daily calendar automatically updated after changing of the daily calendar appointment.
TextStartEnd
Meeting8/28/2008 10:00:00 AM8/28/2008 2:30:00 PM
Component presentation8/28/2008 12:00:00 PM8/28/2008 4:00:00 PM
Dinner with parents8/28/2008 3:00:00 PM8/28/2008 5:00:00 PM
Disco with friends8/29/2008 8:30:00 PM8/29/2008 11:00:00 PM
Business strategy presentation8/29/2008 1:00:00 PM8/29/2008 4:00:00 PM
Wife's Birthday8/28/2008 12:00:00 AM8/28/2008 12:00:00 AM
Free day8/28/2008 12:00:00 AM8/29/2008 12:00:00 AM
Call to Peter8/28/2008 12:00:00 AM8/28/2008 12:00:00 AM
Web Calendar supports cooperation with MS AJAX technology. MS AJAX library gives alternative ways for refreshing web browser contents without updating a whole HTML page and preventing the screen from blinking. To do that, the MS AJAX gives its own postback handler, which is different from standard ASP.NET callback used by the Scheduler control. Therefore, you have to switch callbacks off by setting the UseCallback and UseCallbackOnDblClick properties of the DailyCalendar control to the false value. That forces calendar to use the standard postback only, which is handled by the MS AJAX library. You can still use standard DailyCalendar callbacks of course, but then, the UpdatePanel will not work properly.

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.