Skip to main content
All docs
V24.2

ASPxClientGanttTaskDeletingEventArgs Class

Contains data for the TaskDeleting event.

Declaration

declare class ASPxClientGanttTaskDeletingEventArgs extends ASPxClientCancelEventArgs

Remarks

Run Demo: ASPxGantt - Client-Side Events Run Demo: MVCxGantt - Client-Side Events

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents TaskDeleting="function(s, e) {
        if (e.key == 5) {
            //...
        }
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TaskDeleting = "function (s, e) { 
        if (e.key == 5) {
            //...
        }        
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGanttTaskDeletingEventArgs
See Also