Scroll bar not appear

3 posts, 1 answers
  1. Andy Ho
    Andy Ho avatar
    41 posts
    Member since:
    May 2010

    Posted 11 Dec 2012 Link to this post

    Hi,

    I have a RadPanelBar, which includes several panelitems.  I put a radtreeview under each of the item. then add the first-level treenodes to them programmatically, and the node Expandmode has been set to "ServerSideCallBack" so that the second level node can be expanded on demand.

    The program works ok but the only issue is the Scrollbar does not appear automartcally when I expanded the treenode and the content exceed the height. But if I set the Expand="True" and "Selected="true" at the panelitem then the scrollbar appear. But logically only one can be expanded and selected, how to fix this?

    I am using the latest build (2012.3.1205.35) and tried on IE 9/Google Chrome, same result

    <telerik:RadPanelBar ID="panelBarMain" runat="server" Width="100%"
    Height="100%" ExpandMode="FullExpandedItem"
    Skin="Office2007"><BR><Items><BR><telerik:RadPanelItem
    Value="Trackings" Text="Trackings"
    Visible="false"><BR><ContentTemplate><BR><telerik:RadTreeView
    ID="treeTracking"
    runat="server"><BR><Nodes><BR></Nodes><BR></telerik:RadTreeView><BR></ContentTemplate><BR></telerik:RadPanelItem><BR><telerik:RadPanelItem
    Value="Tenders" Text="Tenders" Visible="false" Expanded="true"
    Selected="true"><BR><ContentTemplate><BR><telerik:RadTreeView
    ID="treeTenders"
    runat="server"><BR></telerik:RadTreeView><BR></ContentTemplate><BR></Items><BR></telerik:RadPanelBar>

  2. Answer
    Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 14 Dec 2012 Link to this post

    Hello, Andy.

    The issue is partially related to a change in the tree view and the panel bar behaviour. In particular it's related to relative content in scrollable container.

    For now the quickest solution is to use the following snippet:

    .RadPanelBar .rpGroup {
        position: relative;
    }

    On the long term, this snippet will be incorporated in the base stylesheets of the PanelBar and will be included with future releases. We are also looking into the tree view part and we'll fix that too.

    Regards,
    Ivan Zhekov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andy Ho
    Andy Ho avatar
    41 posts
    Member since:
    May 2010

    Posted 16 Dec 2012 Link to this post

    Thanks. It works.
Back to Top