KaxSchedulerAppointmentInsert Event |
Occurs when an appointment is about to be inserted in 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 AppointmentInsertEventHandler AppointmentInsert
Public Event AppointmentInsert As AppointmentInsertEventHandler
public:
event AppointmentInsertEventHandler^ AppointmentInsert {
void add (AppointmentInsertEventHandler^ value);
void remove (AppointmentInsertEventHandler^ value);
}
member AppointmentInsert : IEvent<AppointmentInsertEventHandler,
SchedulerCancelEventArgs>
Value
Type:
Kettic.AspNet.ControlsAppointmentInsertEventHandler
Remarks
The insert operation can be cancelled by setting the
SchedulerCancelEventArgs.Cancel
property of
SchedulerCancelEventArgs to true.
Examplesvoid KaxScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
{
if (e.Appointment.Subject == String.Empty)
{
e.Cancel = true;
}
}
Sub KaxScheduler1_AppointmentInsert(sender As Object, e As SchedulerCancelEventArgs)
If e.Appointment.Subject = String.Empty 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