Skip to main content

BootstrapTreeView Class

Represents the web navigation treelike control.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DXClientDocumentationProviderWeb("BootstrapTreeView")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapTreeView :
    ASPxTreeView,
    ISimpleRenderControl

The following members return BootstrapTreeView objects:

Remarks

Note

The BootstrapTreeView control provides you with comprehensive client-side functionality implemented using JavaScript code:

The control’s client-side API is enabled if the ASPxTreeView.EnableClientSideAPI property is set to true, or the ASPxTreeView.ClientInstanceName property is defined, or any client event is handled.

Example

This example demonstrates the basic functionality of the Tree View control.

The image below shows the result:

BootstrapTreeView_Overview

<dx:BootstrapTreeView runat="server">
    <Nodes>
        <dx:BootstrapTreeViewNode Text="Home" Expanded="true">
            <Nodes>
                <dx:BootstrapTreeViewNode Text="News">
                    <Nodes>
                        <dx:BootstrapTreeViewNode Text="For Developers">
                        </dx:BootstrapTreeViewNode>
                        <dx:BootstrapTreeViewNode Text="Website news">
                        </dx:BootstrapTreeViewNode>
                    </Nodes>
                </dx:BootstrapTreeViewNode>
                <dx:BootstrapTreeViewNode Text="Our Mission">
                </dx:BootstrapTreeViewNode>
            </Nodes>
        </dx:BootstrapTreeViewNode>
        ...
    </Nodes>
</dx:BootstrapTreeView>
See Also