Skip to main content
All docs
V24.2

ASPxClientGanttResourceAssignedEventArgs Class

Contains data for the ResourceAssigned event.

Declaration

declare class ASPxClientGanttResourceAssignedEventArgs extends ASPxClientEventArgs

Remarks

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

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents ResourceAssigned="function(s, e) {
        if (e.values["ResourceID"] == 1) {
            //...
        }
    }" />
</dx:ASPxGantt>

MVC:

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

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientGanttResourceAssignedEventArgs
See Also