ASPxClientTreeList.GetToolbar(index) Method

Returns a toolbar specified by its index.


GetToolbar(index: number): ASPxClientMenu


Name Type Description
index number

An integer value specifying the zero-based index of the toolbar object to retrieve.


Type Description

An ASPxClientMenu object that is the toolbar located at the specified index within the control's ASPxTreeList.Toolbars collection.


The tree list control's client-side functionality allows its toolbars to be accessed programmatically on the client side. This method gets the client toolbar object specified by the its index within the ASPxTreeList.Toolbars collection.

Note that the index parameter is zero-based. If an invalid index is passed via the parameter, the method returns null.

See Also