Skip to main content
All docs
V23.2

GanttEditingSettings.AllowTaskResourceUpdate Property

Specifies whether users can update a task’s resources.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AllowTaskResourceUpdate { get; set; }

Property Value

Type Default Description
Boolean true

true, to allow users to update a task’s resources; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowTaskResourceUpdate
ASP.NET MVC Extensions GanttSettings
.SettingsEditing .AllowTaskResourceUpdate
ASP.NET Web Forms Controls ASPxGantt
.SettingsEditing .AllowTaskResourceUpdate

Remarks

Set the AllowTaskResourceUpdate property to false to hide the Resource Manager in the Task Details dialog.

Gantt - Popup Edit Form

Web Forms:

Run Demo: ASPxGantt - Data Binding and Editing

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    // ...
    <SettingsEditing AllowTaskResourceUpdate="False" />
</dx:ASPxGantt>

MVC:

Run Demo: MVCxGantt - Data Binding and Editing

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    ...
    settings.SettingsEditing.AllowTaskResourceUpdate = false;
    ...
}).Bind(
    GanttDataProvider.Tasks, 
    GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, 
    GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

See Also