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 handler receives an argument of the ASPxSchedulerDataInsertedEventArgs type. The following properties provide information specific to this event.
|AffectedRecords||Gets the number of modified records.|
|Exception||Gets the exception that was raised during the data operation.|
|ExceptionHandled||Gets or sets a value indicating whether an exception that was raised during the data operation was handled in the event handler.|
|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).
Online Resources Refer to the following online resources to get more info about the AppointmentRowInserted event functionality.