<<
MS AJAX co-operation
>>
Show source code for this site
The text information about invoked events, rendered by the Label1 control. Notice, that information is calculated by the server code and updated with the AJAX callback:
Scheduler 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 EventXxxx.UseCallback properties of the Scheduler control to the false value. That forces scheduler to use the standard postback only, which is handled by the MS AJAX library (look into source code for example how to assign false values). You can still use standard Scheduler 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.