All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxClientGantt.ResourceManagerDialogShowing Event

Occurs before the Resource Manager dialog is shown.

Declaration

ResourceManagerDialogShowing: ASPxClientEvent<ASPxClientGanttResourceManagerDialogShowingEventHandler<ASPxClientGantt>>

Event Data

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

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
values Gets resource values.

Remarks

Gantt - Open Resource Manager

Handle the ResourceManagerDialogShowing event to customize the Resource Manager dialog before it is invoked. You can also use the ShowResourceManagerDialog method or the GanttResourceManagerToolbarItem toolbar item to invoke the Resource Manager.

The AllowTaskResourceUpdate property allows you to hide the Resource Manager button in the Task Details dialog.

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

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents ResourceManagerDialogShowing="function(s, e) {
        // ...
        // Cancels the dialog.
        e.cancel = true;
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.ResourceManagerDialogShowing = "function (s, e) { 
        // ...
        // Cancels the dialog.
        e.cancel = true;
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

See Also