Skip to main content

ASPxGantt.TaskInserted Event

Fires when a user inserts a task.

Namespace: DevExpress.Web.ASPxGantt

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

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