Skip to main content

TreeListSettingsDataSecurity.AllowInsert Property

Gets or sets a value that specifies whether row insertion is allowed within the ASPxTreeList.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true, to allow row insert operations; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowInsert
ASPxTreeList
.SettingsDataSecurity .AllowInsert

Remarks

Use the AllowInsert property to disable row inserts within the ASPxTreeList if required. If this property set to true, new data rows cannot be inserted either by an end-user or programmatically via the ASPxTreeList’s API.

See Also