Back to Devexpress

ASPxTreeList.CancelEdit() Method

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-aspxtreelist-4ee99e28.md

latest1.5 KB
Original Source

ASPxTreeList.CancelEdit() Method

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

Namespace : DevExpress.Web.ASPxTreeList

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

NuGet Package : DevExpress.Web

Declaration

csharp
public void CancelEdit()
vb
Public Sub 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

CancelNodeEditing

CancelEdit

Tree List

ASPxTreeList Class

ASPxTreeList Members

DevExpress.Web.ASPxTreeList Namespace