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

TreeListSettingsText.RecursiveDeleteError Property

Gets or sets the error text displayed when deleting a parent node.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v18.2.dll

Declaration

[DefaultValue("The node has descendant nodes.")]
public string RecursiveDeleteError { get; set; }

Property Value

Type Default Description
String "The node has descendant nodes."

A string value that specifies the error text.

Property Paths

You can access this nested property as listed below:

Object Type Path to RecursiveDeleteError
ASPxTreeList
.SettingsText.RecursiveDeleteError
MVCxTreeList
.SettingsText.RecursiveDeleteError
TreeListSettings
.SettingsText.RecursiveDeleteError
TreeListSettings<RowType>
.SettingsText.RecursiveDeleteError

Remarks

If the TreeListSettingsEditing.AllowRecursiveDelete option is disabled, parent nodes cannot be deleted. When deleting a parent node the error message is displayed (see the image below):

RecursiveDelete

The RecursiveDeleteError property allows you to provide your own error text.

To learn more, see Adding and Deleting Nodes.

See Also