The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientTreeViewNode Class

Represents a client-side equivalent of the ASPxTreeView's TreeViewNode object.

Declaration

declare class ASPxClientTreeViewNode

Remarks

The ASPxClientTreeViewNode object represents a client node that corresponds to a particular node in a node's TreeViewNode.Nodes collection (and the ASPxTreeView.Nodes collection of the ASPxTreeView control). An individual client node can be accessed from either the ASPxTreeView object level by using the ASPxClientTreeView.GetNode, ASPxClientTreeView.GetNodeByName, or ASPxClientTreeView.GetNodeByText method or the level of the node's parent, by using the analogous methods.

The functionality provided by the ASPxClientTreeViewNode object on the client side almost replicates the basic server-side functionality. Thus, you are allowed to obtain primary information on an ASPxTreeView node (such as its ASPxClientTreeViewNode.index and ASPxClientTreeViewNode.name), access its parent node (ASPxClientTreeViewNode.parent), and ASPxTreeView object (ASPxClientTreeViewNode.treeView) directly on the client-side, by using specific properties exposed by the ASPxClientTreeViewNode object and writing an appropriate JavaScript code.

See Also