PanelBar - Simple PanelBar

  • Mail
    • Personal Folders
    • Deleted Items
    • Inbox
    • My Mail
    • Sent Items
    • Outbox
    • Search Folders
  • Contacts
    • My Contacts
    • Address Cards
    • Phone List
    • Shared Contacts
  • Tasks
    • My Tasks
    • Shared Tasks
    • Active Tasks
    • Completed Tasks
  • Notes
    • My Notes
    • Notes List
    • Shared Notes
    • Archive
  • Folders List
    • My Client.Net
    • My Profile
    • My Support Tickets
    • My Licenses
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB
This example shows a simple two-level panelbar. All the items are declared inline (in the aspx page). You can review the ASPX section 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" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<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 Text="Mail" Expanded="True">
                    <Items>
                        <telerik:RadPanelItem Text="Personal Folders" />
                        <telerik:RadPanelItem Text="Deleted Items" />
                        <telerik:RadPanelItem Text="Inbox" />
                        <telerik:RadPanelItem Text="My Mail" />
                        <telerik:RadPanelItem Text="Sent Items" />
                        <telerik:RadPanelItem Text="Outbox" />
                        <telerik:RadPanelItem Text="Search Folders" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Contacts">
                    <Items>
                        <telerik:RadPanelItem Text="My Contacts" />
                        <telerik:RadPanelItem Text="Address Cards" />
                        <telerik:RadPanelItem Text="Phone List" />
                        <telerik:RadPanelItem Text="Shared Contacts" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Tasks">
                    <Items>
                        <telerik:RadPanelItem Text="My Tasks" />
                        <telerik:RadPanelItem Text="Shared Tasks" />
                        <telerik:RadPanelItem Text="Active Tasks" />
                        <telerik:RadPanelItem Text="Completed Tasks" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Notes">
                    <Items>
                        <telerik:RadPanelItem Text="My Notes" />
                        <telerik:RadPanelItem Text="Notes List" />
                        <telerik:RadPanelItem Text="Shared Notes" />
                        <telerik:RadPanelItem Text="Archive" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Folders List">
                    <Items>
                        <telerik:RadPanelItem Text="My Client.Net" />
                        <telerik:RadPanelItem Text="My Profile" />
                        <telerik:RadPanelItem Text="My Support Tickets" />
                        <telerik:RadPanelItem Text="My Licenses" />
                    </Items>
                </telerik:RadPanelItem>
            </Items>
            <ExpandAnimation Type="None" />
            <CollapseAnimation Type="None" />
        </telerik:RadPanelBar>
    </div>

    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?