ASPxSchedulerDataWebControlBase.AppointmentRowInserted Event

Fires after a new record containing appointment information is inserted into the data source.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll


public event ASPxSchedulerDataInsertedEventHandler AppointmentRowInserted
Public Event AppointmentRowInserted As ASPxSchedulerDataInsertedEventHandler

Event Data

The AppointmentRowInserted event handler receives an argument of the ASPxSchedulerDataInsertedEventArgs type. The following properties provide information specific to this event.

Property Description
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.

Online Examples:

How to customize the Edit Appointment Form in the "Shared Resources" scenario

How to display a custom ToolTip when hovering with the mouse over an appointment

How to drag a row from ASPxGridView to ASPxScheduler

Online Demo:

ASPxScheduler - XPO Bound Mode

See Also