Skip to main content

ASPxSchedulerStorage.AppointmentRowInserting Event

Fires before appointment data is posted to the data source for insertion.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public event ASPxSchedulerDataInsertingEventHandler AppointmentRowInserting

Event Data

The AppointmentRowInserting event's data class is ASPxSchedulerDataInsertingEventArgs. The following properties provide information specific to this event:

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

Remarks

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.

See Also