Back to Devexpress

ASPxClientGanttDependencyInsertedEventArgs Class

aspnet-js-aspxclientganttdependencyinsertedeventargs.md

latest1.9 KB
Original Source

ASPxClientGanttDependencyInsertedEventArgs Class

Contains data for the DependencyInserted event.

Declaration

ts
declare class ASPxClientGanttDependencyInsertedEventArgs extends ASPxClientEventArgs

Remarks

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

Web Forms:

aspx
<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents DependencyInserted="function(s, e) {
        if (e.values["ParentID"] == 10) {
            //...
        }
    }" />
</dx:ASPxGantt>

MVC:

cshtml
@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.DependencyDeleted = "function (s, e) { 
        if (e.values["ParentID"] == 10) {
            //...
        }
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs ASPxClientGanttDependencyInsertedEventArgs

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGanttDependencyInsertedEventArgs Members