Enables you to cancel adding a new node.
public event ASPxDataInsertingEventHandler NodeInserting
Public Event NodeInserting As ASPxDataInsertingEventHandler
The NodeInserting event's data class is ASPxDataInsertingEventArgs. The following properties provide information specific to this event:
|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.
After a new node has been added to the ASPxTreeList, the ASPxTreeList.NodeInserted event is raised.