Click or drag to resize
KaxSchedulerAppointmentDelete Event
Occurs when an appointment is about to be deleted from the database through the provider.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public event AppointmentDeleteEventHandler AppointmentDelete

Value

Type: Kettic.AspNet.ControlsAppointmentDeleteEventHandler
Remarks
The delete operation can be cancelled by setting the SchedulerCancelEventArgs.Cancel property of SchedulerCancelEventArgs to true.
Examples
void KaxScheduler1_AppointmentDelete(object sender, SchedulerCancelEventArgs e)
{
    if (e.Appointment.Attributes["ReadOnly"] == "true")
    {
        e.Cancel = true;
    }
}
See Also