Fires before appointment data is posted to the data source for insertion.
public event ASPxSchedulerDataInsertingEventHandler AppointmentRowInserting
Public Event AppointmentRowInserting As ASPxSchedulerDataInsertingEventHandler
The AppointmentRowInserting event's data class is ASPxSchedulerDataInsertingEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|NewValues||Provides access to the collection of modified values for the appointment’s data fields.|
You can prevent data from being inserted into the data row by setting the event handler’s e.Cancel to true
If the data source table contains an autoincremented ID field, use the AppointmentRowInserting event to strip off the ID field of the appointment’s data before sending it to the data source.
Online Resources Refer to the following online examples to get more info about the AppointmentRowInserting event functionality.