Skip to main content
All docs

ASPxClientGantt.ResourceManagerDialogShowing Event

Occurs before the Resource Manager dialog is shown.


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.


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;
    }" />


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


See Also