PanelBar - Scrolling

  • ASP.NET controls
    • RadAjax
    • RadCalendar
    • RadChart
    • RadComboBox
    • RadDock
    • RadEditor
    • RadGrid
    • RadInput
    • RadMenu
    • RadPanelBar
    • RadRotator
    • RadSpell
    • RadTabStrip
    • RadToolBar
    • RadTreeView
    • RadUpload
    • RadWindow
  • WinForms controls
    • RadMenustrip
    • RadTabStrip
    • RadToolStrip
  • Other projects
    • SiteFinity
    • Reporting
    • RadAjax
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

There are two ways to create a scrollable panelbar child group.

  1. Set the ChildGroupHeight property of the parent item. If the child items' height exceeds the available space, a scrollbar appears.
  2. Set the RadPanelBar's ExpandMode to FullExpandedItem, so that the child groups stretch to the full panelbar height. If the child items' height exceeds the available space, a scrollbar appears.
  • 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" Height="300" Width="100%" ExpandMode="FullExpandedItem">
            <Items>
                <telerik:RadPanelItem Expanded="True" Text="ASP.NET controls">
                    <Items>
                        <telerik:RadPanelItem Text="RadAjax" />
                        <telerik:RadPanelItem Text="RadCalendar" />
                        <telerik:RadPanelItem Text="RadChart" />
                        <telerik:RadPanelItem Text="RadComboBox" />
                        <telerik:RadPanelItem Text="RadDock" />
                        <telerik:RadPanelItem Text="RadEditor" />
                        <telerik:RadPanelItem Text="RadGrid" />
                        <telerik:RadPanelItem Text="RadInput" />
                        <telerik:RadPanelItem Text="RadMenu" />
                        <telerik:RadPanelItem Text="RadPanelBar" />
                        <telerik:RadPanelItem Text="RadRotator" />
                        <telerik:RadPanelItem Text="RadSpell" />
                        <telerik:RadPanelItem Text="RadTabStrip" />
                        <telerik:RadPanelItem Text="RadToolBar" />
                        <telerik:RadPanelItem Text="RadTreeView" />
                        <telerik:RadPanelItem Text="RadUpload" />
                        <telerik:RadPanelItem Text="RadWindow" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="WinForms controls">
                    <Items>
                        <telerik:RadPanelItem Text="RadMenustrip" />
                        <telerik:RadPanelItem Text="RadTabStrip" />
                        <telerik:RadPanelItem Text="RadToolStrip" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Other projects">
                    <Items>
                        <telerik:RadPanelItem Text="SiteFinity" />
                        <telerik:RadPanelItem Text="Reporting" />
                        <telerik:RadPanelItem Text="RadAjax" />
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>
    </div>

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

Find Assistance

Help Us Improve

Was this example helpful?