Skip to main content
A newer version of this page is available. .

GanttEditingSettings.AllowResourceInsert Property

Specifies whether users can insert resources.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean **true**

true, to allow users to insert resources; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowResourceInsert
ASP.NET Controls and MVC Extensions ASPxGantt
.SettingsEditing .AllowResourceInsert
ASP.NET MVC Extensions GanttSettings
.SettingsEditing .AllowResourceInsert
MVCxGantt
.SettingsEditing .AllowResourceInsert

Remarks

The following example illustrates how to deny users from inserting resources.

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

Run Demo: (Web Forms) Gantt - Data Binding and Modification

Run Demo: (MVC) Gantt - Data Binding and Modification

View Example: How to edit Gantt data

Concepts

See Also