TreeListSettingsText.RecursiveDeleteError Property
Gets or sets the error text displayed when deleting a parent node.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll
NuGet Package: DevExpress.Web
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 |
|
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):
The RecursiveDeleteError property allows you to provide your own error text.
To learn more, see Adding and Deleting Nodes.
See Also