ASPxTreeList.NodeInserting Event

Enables you to cancel adding a new node.

Namespace: DevExpress.Web.ASPxTreeList

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


public event ASPxDataInsertingEventHandler NodeInserting
Public Event NodeInserting As ASPxDataInsertingEventHandler

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)
NewValues Gets a dictionary that contains the new field name/value pairs for the row to be inserted.


The NodeInserting event occurs when an end-user tries to save the newly created node by clicking the Update command. To cancel the insert operation, set the event parameter's Cancel property to true.

To create a new node, click the New command or call the ASPxTreeList.StartEditNewNode method.

After a new node has been added to the ASPxTreeList, the ASPxTreeList.NodeInserted event is raised.

See Also