ASPxTreeList.SetBatchEditInsertedNodeKeyValue(Object) Method
Returns the key value for the inserted node.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
value | Object | An object that specifies the node’s key value. |
Remarks
The batch edit mode allows creating any number of nodes (parent and child) on the client side and then save them by sending them to the server in a single request.
Note
Inserting a new child node implies getting a parent node’s key field name. If a parent node is a newly inserted node, it hasn’t a key field until it is saved on the server by clicking the Update button. Use the SetBatchEditInsertedNodeKeyValue method to specify the newly inserted node key. It allows creating the control’s tree-like data structure in batch edit mode.
Refer to the Batch Edit Mode topic for more information.