PanelBar - Hierarchical PanelBar

  • Corporate
    • About us
      • News
      • Team
    • Careers
  • Services
    • Products
    • Solutions
    • Certifications
  • Work
    • Clients
    • Testimonials
    • FAQ
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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.

  • DefaultCS.aspx
<%@ Page Language="c#"  %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>

    <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%">
                <telerik:RadPanelItem Expanded="True" Text="Corporate">
                        <telerik:RadPanelItem Expanded="True" Text="About us">
                                <telerik:RadPanelItem Text="News" />
                                <telerik:RadPanelItem Text="Team" />
                        <telerik:RadPanelItem Text="Careers" />
                <telerik:RadPanelItem Text="Services">
                        <telerik:RadPanelItem Text="Products" />
                        <telerik:RadPanelItem Text="Solutions" />
                        <telerik:RadPanelItem Text="Certifications" />
                <telerik:RadPanelItem Text="Work">
                        <telerik:RadPanelItem Text="Clients" />
                        <telerik:RadPanelItem Text="Testimonials" />
                        <telerik:RadPanelItem Text="FAQ" />
            <ExpandAnimation Type="None" />

Find Assistance

Help Us Improve

Was this example helpful?