Skip to main content
All docs
V23.2

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