Skip to main content

ASPxTreeList.CancelEdit() Method

Cancels all the changes made and switches the ASPxTreeList to browse mode.

Namespace: DevExpress.Web.ASPxTreeList

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


public void CancelEdit()


End-users can do this by clicking the Cancel command button displayed within the Edit Form or edited node, if in-line editing is used.

The CancelEdit method raises the ASPxTreeList.CancelNodeEditing event, which prevents changes made within a node from being discarded.

See Also