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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void CancelEdit()

Remarks

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