aspnet-devexpress-dot-web-dot-aspxgantt-dot-aspxgantt-2961e688.md
Fires after a user inserted a task.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public event GanttItemInsertedEventHandler TaskInserted
Public Event TaskInserted As GanttItemInsertedEventHandler
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. |
Use this event to handle a task insertion.
See Also