This example illustrates a simple implementation of a custom appointment edit form. You can find the form view in the following file: CustomAppointmentFormPartial.cshtml.
The following list covers important aspects of example implementation:
- The example implements the
SchedulerHelper
class that initializes Scheduler settings for its view. - Pass the Scheduler settings to the corresponding overloads of SchedulerExtension.GetAppointmentsToInsert, SchedulerExtension.GetAppointmentsToUpdate, and SchedulerExtension.GetAppointmentsToRemove methods.
- The Scheduler extension should be defined in a separate Partial View (SchedulerPartial.cshtml).
- SchedulerHelper.cs (VB: SchedulerHelper.vb)
- HomeController.cs (VB: HomeController.vb)
- SchedulerPartial.cshtml
- CustomAppointmentFormPartial.cshtml
(you will be redirected to DevExpress.com to submit your response)