Scheduling - Client Side Appointment Form

<
Today
V
>
19 – May 23, 2014
Day
Work Week
Week
Month
Timeline
      
     
12AM     
      
100     
      
200     
      
300     
      
400     
      
500     
      
600     
      
700     
      
800     
      
900     
      
1000     
      
1100     
      
12PM     
      
100     
      
200     
      
300     
      
400     
      
500     
      
600     
      
700     
      
800     
      
900     
      
1000     
      
1100     
      
 

This demo illustrates how to create the appointment editing form, using client-side scripting. The technique employs the ASPxClientScheduler and ASPxClientAppointment objects.

In this example, popup menu commands are intercepted by JavaScript functions, which create the ASPxClientAppointment for the selected interval and resource or use the client Scheduler’s GetSelectedAppointmentIds and GetAppointment methods to obtain the client appointment. Then, the RefreshClientAppointmentProperties method updates the client appointment properties and invokes the scripting appointment form.

The scripting appointment editing form consists of two templates – ScriptAppointmentForm.ascx and ScriptRecurrenceForm.ascx. Their code implements the logic required to populate the form’s controls and update the appointment with new values. When the button on the form is pressed, one of the following methods of the client scheduler: UpdateAppointment, InsertAppointment or DeleteAppointment - is called. This method performs a callback using information contained in the client appointment. The appointment is then processed on the server.

Note that client-side appointment forms and client data processing may significantly reduce response times, and improve application performance and usability.

Version: v2014 vol 1.7
Copyright © 2006-2014 Developer Express Inc
Your Next Great ASP.NET App Starts Here

Get started today and download your 30-day trial of ASP.NET Controls and Libraries (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress ASP.NET distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress ASP.NET Controls and Libraries ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.