Skip to main content
A newer version of this page is available. .

ASPxSchedulerDataInsertingEventArgs Class

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v18.1.dll

Declaration

public class ASPxSchedulerDataInsertingEventArgs :
    CancelEventArgs

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.

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.

Inheritance

Object
EventArgs
CancelEventArgs
ASPxSchedulerDataInsertingEventArgs
See Also