Skip to main content
All docs
V19.2

GanttSettingsEditing.AllowTaskDelete Property

Specifies whether users can delete tasks.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

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

Property Value

Type Default Description
Boolean **true**

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

Property Paths

You can access this nested property as listed below:

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

Remarks

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

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

Online Demo

ASPxGantt - Data Binding and Modification

See Also