Skip to main content
All docs
V21.2

ASPxClientGanttTaskDeletingEventArgs.values Property

Specifies the task values.

Declaration

values: any

Property Value

Type Description
any

The values.

Remarks

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents TaskDeleting="function(s, e) {
        if (e.values["Subject"] == "test name") {
            //...
            e.cancel = true;
        }
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TaskDeleting = "function (s, e) { 
        if (e.values["Subject"] == "test name") {
            //...
            e.cancel = true;
        }
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also