Back to Devexpress

ASPxGantt.TaskInserted Event

aspnet-devexpress-dot-web-dot-aspxgantt-dot-aspxgantt-2961e688.md

latest2.4 KB
Original Source

ASPxGantt.TaskInserted Event

Fires after a user inserted a task.

Namespace : DevExpress.Web.ASPxGantt

Assembly : DevExpress.Web.ASPxGantt.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event GanttItemInsertedEventHandler TaskInserted
vb
Public Event TaskInserted As GanttItemInsertedEventHandler

Event Data

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

PropertyDescription
AffectedRecordsGets the number of records affected by the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
ExceptionGets the exception (if any) that was raised during the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
ExceptionHandledGets or sets whether an exception raised during the update operation was handled in the event handler. Inherited from ASPxDataBaseUpdatedEventArgs.
KeyValueGets the processed item’s key.
NewValuesGets 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

ASPxGantt - 'How To' Examples

ASPxGantt Class

ASPxGantt Members

DevExpress.Web.ASPxGantt Namespace