Click or drag to resize
KaxSchedulerAppointmentInsert Event
Occurs when an appointment is about to be inserted in 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 AppointmentInsertEventHandler AppointmentInsert

Value

Type: Kettic.AspNet.ControlsAppointmentInsertEventHandler
Remarks
The insert operation can be cancelled by setting the SchedulerCancelEventArgs.Cancel property of SchedulerCancelEventArgs to true.
Examples
void KaxScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
{
    if (e.Appointment.Subject == String.Empty)
    {
        e.Cancel = true;
    }
}
See Also