Skip to main content

ASPxTreeList.StartEditNewNode(String) Method

Switches the ASPxTreeList to edit mode and allows new node values to be edited.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void StartEditNewNode(
    string parentNodeKey
)

Parameters

Name Type Description
parentNodeKey String

A String value that identifies the parent node, which owns a new node.

Remarks

End-users can add new nodes by clicking the New command button. This switches the ASPxTreeList to edit mode, and allows new node values to be edited. To add a new node to the underlying data source, click the Update button.

The StartEditNewNode method raises the ASPxTreeList.InitNewNode event, which enables you to initialize added nodes in code. To save a new node, call the ASPxTreeList.UpdateEdit method.

To learn more, see Data Editing and Node Validation and Error Indication.

See Also