<< Validate value after edit  >> Show source code for this site
An example how to use an event to prevent a user from entering a value longer than 30 characters into an appointment.
event: DailyCalendar.AppointmentEdit

Edit any appointment's text.


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.