This example demonstrates how to use RadScheduler's client-side API to implement a custom confirmation message with RadWindow.
A confirmation window will appear when you have overlapping appointments after move, resize or insert (from the TreeView). This behavior is useful in scenarios where having two appointments in the same time frame is not advisable, but still allowed.
Using RadScheduler's client-side API, developers can invoke the same operations that are available through user interaction:
-
Scheduler.showInsertFormAt(timeSlot) - Shows the inline insert form, similar to the user double-clicking the slot.
-
Scheduler.insertAppointment(newAppointment) - Directly inserts a new appointment in RadScheduler. All of the associated server-side events are fired.
-
Scheduler.updateAppointment(appointment, editSeries) - Updates an existing appointment.
-
Scheduler.deleteAppointment(appointment, deleteSeries) - Deletes an existing appointment.
-
Scheduler.editAppointment(appointment, editSeries) - Opens the advanced edit form to edit the appointment. Similar to double-click an appointment.