ASPxTreeList.NodeUpdated Event

Occurs after a node has been updated.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public event ASPxDataUpdatedEventHandler NodeUpdated
Public Event NodeUpdated As ASPxDataUpdatedEventHandler

Event Data

The NodeUpdated event's data class is ASPxDataUpdatedEventArgs. The following properties provide information specific to this event:

Property Description
AffectedRecords Gets the number of records affected by the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
Exception Gets the exception (if any) that was raised during the update operation. Inherited from ASPxDataBaseUpdatedEventArgs.
ExceptionHandled Gets or sets whether an exception raised during the update operation was handled in the event handler. Inherited from ASPxDataBaseUpdatedEventArgs.
Keys Gets a dictionary of field name/value pairs that specify the primary key of the item to update.
NewValues Gets a dictionary that contains the updated values of the non-key field name/value pairs in the item.
OldValues Gets a dictionary that contains the original field name/value pairs for the updated records.

Remarks

The NodeUpdated event occurs after the node with modified cell values has been updated. End-users can update nodes by clicking the Update command. To update nodes in code, call the ASPxTreeList.UpdateEdit method. To cancel the update operation, handle the ASPxTreeList.NodeUpdating event.

See Also