This is a migrated thread and some comments may be shown as answers.

Scrollbar inside the panelbaritem?

3 Answers 157 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Moon Yau
Top achievements
Rank 1
Moon Yau asked on 16 Sep 2009, 07:55 AM
            <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.

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 18 Sep 2009, 01:09 PM
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.
0
David
Top achievements
Rank 1
Iron
Iron
answered on 10 Jun 2020, 08:56 PM

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

0
Vladimir Stoyanov
Telerik team
answered on 15 Jun 2020, 11:20 AM

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.
Tags
PanelBar
Asked by
Moon Yau
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Vladimir Stoyanov
Telerik team
Share this question
or