Scrollbar inside the panelbaritem?

4 posts, 0 answers
  1. Moon Yau
    Moon Yau avatar
    12 posts
    Member since:
    Mar 2009

    Posted 16 Sep 2009 Link to this post

                <telerikNavigation:RadPanelBar Orientation="Horizontal" Height="100"  HorizontalAlignment="Stretch">
                    <telerikNavigation:RadPanelBarItem Header="Photo" >
                    </telerikNavigation:RadPanelBarItem>
                    <telerikNavigation:RadPanelBarItem Header="Page">
                        <ctrl:ctrl />
                    </telerikNavigation:RadPanelBarItem>
                    <telerikNavigation:RadPanelBarItem Header="Cover>
                        <ctrl:ctrl />
                    </telerikNavigation:RadPanelBarItem>
                </telerikNavigation:RadPanelBar>

    From the code above, if the content inside the "Page" RadPanelBarItem is too long, the scrollbar will appear.
    But this scrollbar appear in RadPanelBar but not that particular PanelBarItem itself.
    And if you can want to click "Cover" RadPanelBarITem, you got to scroll to the end of the RadPanelBar to see it.

    So, is there anyway to make the scrollbar appear inside the RadPanelBarItem itself but not in RadPanelBar.
    Besides, the scrollbar located at top, it block the appearance of Header in RadPanelBarItem.
    Can make it locate at bottom instead? More make sense.
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 18 Sep 2009 Link to this post

    Hi Moon Yau,

    The behavior you describe is by design and unfortunately the RadPanelBar control does not support your exact scenario. However,the official version of our OutlookBar control will support your scenario and will be publicly available with our next major release - 2009 Q3.

    Sincerely yours,
    Dimitrina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. David
    David avatar
    32 posts
    Member since:
    Jan 2013

    Posted 10 Jun Link to this post

    Hi there,

    In the intervening ten years or so, has anything changed about the capability of a RadPanelBarItem to have a scrollviewer inside?  Short of copying the control template and rewriting?

    Thanks!

    -David

  4. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    686 posts

    Posted 15 Jun Link to this post

    Hello David,

    The RadPanelBarItem does not support scrolling its items by default. You are correct that its ControlTemplate can be extracted and modified. You can check out the AdjustPositionOfPanelBarItemsNoScrollBar SDK example, which explores a similar scenario. 

    I hope you find this helpful.

    Regards,
    Vladimir Stoyanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top