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

ASPxTreeList.CancelEdit() Method

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

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.2.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