New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Hierarchical PanelBar

  • Corporate
    • About us
      • News
      • Team
    • Careers
  • Services
    • Products
    • Solutions
    • Certifications
  • Work
    • Clients
    • Testimonials
    • FAQ

You can create a hierarchical panelbar by defining the structure with the design-time builder. You can also bind the control to a hierarchical datasource or build its structure using the server-side API.

Please review the code sections for more details.

  • DefaultVB.aspx
<%@ Page Language="vb"  %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
     <div class="demo-container size-thin">
        <telerik:RadPanelBar RenderMode="Lightweight" runat="server" ID="RadPanelBar1" Width="100%">
            <Items>
                <telerik:RadPanelItem Expanded="True" Text="Corporate">
                    <Items>
                        <telerik:RadPanelItem Expanded="True" Text="About us">
                            <Items>
                                <telerik:RadPanelItem Text="News" />
                                <telerik:RadPanelItem Text="Team" />
                            </Items>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="Careers" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Services">
                    <Items>
                        <telerik:RadPanelItem Text="Products" />
                        <telerik:RadPanelItem Text="Solutions" />
                        <telerik:RadPanelItem Text="Certifications" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Work">
                    <Items>
                        <telerik:RadPanelItem Text="Clients" />
                        <telerik:RadPanelItem Text="Testimonials" />
                        <telerik:RadPanelItem Text="FAQ" />
                    </Items>
                </telerik:RadPanelItem>
            </Items>
            <ExpandAnimation Type="None" />
        </telerik:RadPanelBar>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance