ASPxTreeList.NodeDeleted Event

Occurs after a node has been deleted.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public event ASPxDataDeletedEventHandler NodeDeleted
Public Event NodeDeleted As ASPxDataDeletedEventHandler

Event Data

The NodeDeleted event handler receives an argument of the ASPxDataDeletedEventArgs type. The following properties provide information specific to this event.

Property Description
AffectedRecords Gets the number of records affected by the update operation.
Exception Gets the exception (if any) that was raised during the update operation.
ExceptionHandled Gets or sets whether an exception raised during the update operation was handled in the event handler.
Keys Gets a dictionary of field name/value pairs that represent the primary key of the row to delete.
Values Gets a dictionary of the non-key field name/value pairs for the row to delete.

Remarks

End-users can delete nodes by clicking the Delete command button. To delete nodes in code, use the server-side ASPxTreeList.DeleteNode or client-side ASPxClientTreeList.DeleteNode method.

To cancel the delete operation, handle the ASPxTreeList.NodeDeleting event.

To learn more, see Adding and Deleting Nodes.

See Also