Skip to main content
All docs
V19.2

GanttSettingsEditing.AllowTaskInsert Property

Specifies whether users can insert tasks.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

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

Property Value

Type Default Description
Boolean **true**

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

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowTaskInsert
ASPxGantt
.SettingsEditing.AllowTaskInsert
GanttSettings
.SettingsEditing.AllowTaskInsert
MVCxGantt
.SettingsEditing.AllowTaskInsert

Remarks

The following example illustrates how to disable users to insert tasks.

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

Online Demo

ASPxGantt - Data Binding and Modification

See Also