Fires after a new record containing appointment information is inserted into the data source.
public event ASPxSchedulerDataInsertedEventHandler AppointmentRowInserted
Public Event AppointmentRowInserted As ASPxSchedulerDataInsertedEventHandler
The AppointmentRowInserted event's data class is ASPxSchedulerDataInsertedEventArgs. The following properties provide information specific to this event:
|AffectedRecords||Gets the number of modified records. Inherited from ASPxSchedulerDataBaseUpdatedEventArgs.|
|Exception||Gets the exception that was raised during the data operation. Inherited from ASPxSchedulerDataBaseUpdatedEventArgs.|
|ExceptionHandled||Gets or sets a value indicating whether an exception that was raised during the data operation was handled in the event handler. Inherited from ASPxSchedulerDataBaseUpdatedEventArgs.|
|KeyFieldValue||Gets or sets the value of the key field for the appointment's data record.|
|NewValues||Provides access to the collection of values for the appointment's data fields.|
Use the AppointmentRowInserted event to perform actions immediately after the data for a new appointment are inserted into the data source. If the data table contains an autoincremented field, you can handle this event to assign an ID of the new record, obtained by querying the data source, to the appointment's ID field (e.KeyFieldValue property).