Skip to main content
All docs

ASPxClientGantt.ResourceAssigned Event

Occurs after a user assigned a resource to a task.


ResourceAssigned: ASPxClientEvent<ASPxClientGanttResourceAssignedEventHandler<ASPxClientGantt>>

Event Data

The ResourceAssigned event's data class is ASPxClientGanttResourceAssignedEventArgs. The following properties provide information specific to this event:

Property Description
key Specifies the resource assignment key.
values Specifies the resource values.


Use the ResourceAssigned event to process data after a resource is assigned to the task.

Gantt - Resources

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) {
    }" />


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


See Also