KaxSchedulerAppointmentDelete Event |
Occurs when an appointment is about to be deleted from the database through the provider.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event AppointmentDeleteEventHandler AppointmentDelete
Public Event AppointmentDelete As AppointmentDeleteEventHandler
public:
event AppointmentDeleteEventHandler^ AppointmentDelete {
void add (AppointmentDeleteEventHandler^ value);
void remove (AppointmentDeleteEventHandler^ value);
}
member AppointmentDelete : IEvent<AppointmentDeleteEventHandler,
SchedulerCancelEventArgs>
Value
Type:
Kettic.AspNet.ControlsAppointmentDeleteEventHandler
Remarks
The delete operation can be cancelled by setting the
SchedulerCancelEventArgs.Cancel
property of
SchedulerCancelEventArgs to true.
Examplesvoid KaxScheduler1_AppointmentDelete(object sender, SchedulerCancelEventArgs e)
{
if (e.Appointment.Attributes["ReadOnly"] == "true")
{
e.Cancel = true;
}
}
Sub KaxScheduler1_AppointmentDelete(sender As Object, e As SchedulerCancelEventArgs)
If e.Appointment.Attributes("ReadOnly") = "true" Then
e.Cancel = True
End If
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also