Back to Devexpress

ASPxGantt.TaskDeleted Event

aspnet-devexpress-dot-web-dot-aspxgantt-dot-aspxgantt-26ad312b.md

latest2.3 KB
Original Source

ASPxGantt.TaskDeleted Event

Fires after a user deleted a task.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxDataDeletedEventHandler TaskDeleted
vb
Public Event TaskDeleted As ASPxDataDeletedEventHandler

Event Data

The TaskDeleted event's data class is ASPxDataDeletedEventArgs. 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.
KeysGets a dictionary of field name/value pairs that specify the primary key of the item to delete.
ValuesGets a dictionary of the non-key field name/value pairs for the item to be deleted.

Remarks

Use this event to handle a task deletion.

See Also

ASPxGantt - 'How To' Examples

ASPxGantt Class

ASPxGantt Members

DevExpress.Web.ASPxGantt Namespace