ASPxSchedulerDataInsertingEventArgs Class
Provides data for the ASPxSchedulerDataWebControlBase.AppointmentRowInserting event.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
NuGet Package: DevExpress.Web.Scheduler
#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.