Notice, many scheduler properties, especially appearance
and behavior properties, are not serialized between particularly requests.
Therefore, if you initialize these properties from the page code, keep in mind you
need do it every request, regardless of the Page.IsPostback property.
However, if you use standard properties setting with helping design mode and properties
window, don’t worry, the automatically generated by the ASP.NET interpreter code
does it for you. So, you just choose proper property value in the property grid,
that’s all.
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.
|