Skip to main content

ASPxGantt.TaskInserted Event

Fires after a user inserted a task.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event GanttItemInsertedEventHandler TaskInserted

Event Data

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

Property Description
AffectedRecords Gets the number of records affected by the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
Exception Gets the exception (if any) that was raised during the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
ExceptionHandled Gets or sets whether an exception raised during the update operation was handled in the event handler. Inherited from ASPxDataBaseUpdatedEventArgs.
KeyValue Gets the processed item’s key.
NewValues Gets a dictionary that contains the values of the non-key field name/value pairs in the row to be inserted. Inherited from ASPxDataInsertedEventArgs.

Remarks

Use this event to handle a task insertion.

See Also