This example demonstrates how drag-n-dropping and resizing appointment actions can be confirmed using client-side scripting technique. The ASPxScheduler client-side events AppointmentDrop and AppointmentResize are handled to show a dialog window prompting the end-user to apply changes. If "OK" button is clicked, the Apply method of the ASPxClientAppointmentOperation object that is passed to the displayed popup control, is executed. Otherwise, it calls the Cancel method. The Apply method raises the callback and accomplishes the appointment modification. The Cancel method leaves the appointment intact.
Note the use of the temporary property cpOperation to hold the ASPxClientAppointmentOperation object obtained in the event handler.
↧
How to implement a client-side confirmation on the user action modifying the appointment
↧