New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The AppointmentInsert event occurs when an appointment is about to be inserted in the data source.

AppointmentInsert has two parameters:

  • sender is the scheduler control.

  • e is an object of type SchedulerCancelEventArgs.It has two properties:

  • Appointment is the appointment that is about to be inserted.You can modify this object to change the data that is sent to the data source.

  • Cancel is a boolean value that lets you prevent the insertion.


protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
    if (e.Appointment.Subject == String.Empty)
        e.Cancel = true;

Protected Sub RadScheduler1_AppointmentInsert(ByVal sender As Object, _
   ByVal e As SchedulerCancelEventArgs) Handles RadScheduler1.AppointmentInsert
    If e.Appointment.Subject = String.Empty Then
        e.Cancel = True
    End If
End Sub

See Also

In this article