ASPxSchedulerDataInsertingEventArgs Class
Provides data for the ASPxSchedulerDataWebControlBase.AppointmentRowInserting event.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v18.1.dll
Declaration
Remarks
Handle this event to check the field values via the ASPxSchedulerDataInsertingEventArgs.NewValues property and decide whether the data insertion should be cancelled. To cancel the Insert operation set the Cancel property to true.
If the data provider uses its own mechanism for autoincrementing a key field value, then you should handle the ASPxSchedulerDataWebControlBase.AppointmentRowInserting event to remove this field/value pair from the ASPxSchedulerDataInsertingEventArgs.NewValues collection.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ASPxSchedulerDataInsertingEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.