Delete Appointment

This topic describes the work flow for deleting an appointment in RadScheduleView control.

Using UI

  • In order to delete an appointment in the RadScheduleView you can either select it and press Del key or hover your mouse over it and click the delete key that appears in the upper right corner of the appointment.

  • If the appointment you are trying to delete is single one and is not part of any recurrence, a simple confirmation dialog appears asking you to confirm the deletion. Click 'OK' to confirm the deletion or 'Cancel' to stop it.

RadScheduleView Delete Appointment

  • If the appointment is part of a recurrence series, a more complex confirmation dialog appears asking you what do you want to delete.

  • You can choose between two options:

  • 'Delete this occurrence' - delete only this specific occurrence of the whole series.

  • 'Delete the series' - delete all appointments that belong to this series.

Select the option you wish and click 'OK' to confirm the deletion or 'Cancel' to stop it.

Using code

You can delete an appointment using the code. Just Call Remove() method of the RadScheduleView control. It returns whether or not the appointment or the occurrence can be removed. This method has 2 overloads:

this.radScheduleView.Remove(appointment); 

Me.radScheduleView.Remove(appointment) 

See Also

In this article