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

Limiting hieght of Panel bar

3 Answers 97 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Deven
Top achievements
Rank 1
Deven asked on 07 Aug 2009, 10:29 AM
I am using Rad Panel bar as left hand side navigator. There are three panel items in the panel bar. Each item has a list. The panel bar is stretched vertically. If the the list is small the panel bars are all nice, but if the list is longer it stretchs to its length and we see a scrollbar on panel bat. Is there any way I can restrict my list/treeview to remain with in the stretched limits to avoid a scroll bar on panel bar. A scroll bar on list / tree is fine.

Thanks
Deven

3 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 12 Aug 2009, 12:36 PM
Hello Deven,

You can accomplish the desired functionality by using the following :
<telerik:RadPanelBar Height="100" ScrollViewer.VerticalScrollBarVisibility="Disabled">
            <telerik:RadPanelBarItem Header="item1" ScrollViewer.VerticalScrollBarVisibility="Auto">
                <telerik:RadTreeView/>
           < /telerik:RadPanelBarItem>
...
</telerik:RadPanelBar>

You have to disable the Scrollbar by setting ScrollViewer.VerticalScrollBarVisibility="Disabled" of RadPanelBar and after that set ScrollViewer.VerticalScrollBarVisibility="Auto" to the items.
I hope that this will help you.

Please let us know if you have any other questions.
Regards,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
kesava pindi
Top achievements
Rank 1
answered on 10 May 2010, 01:34 PM
Hi,
How to avoid the Vertical Scroll bar in the rad panel bar,
Inst ed of that display all the items at a time.

But previously u mentioned ScrollViewer.VerticalScrollBarVisibility="Disabled" throwing an error

"Server Tag is not well Formed" .

Pls tell me any other alternative for avoiding the scrolls in the rad panel bar..

Thanks&Regards
Kesava.
0
Bobi
Telerik team
answered on 13 May 2010, 08:31 AM
Hi kesava pindi,

I tested this scenario with the  latest released assemblies and everthing works as expected.
Can you please give us some more information like :
1.The Silverlight version that you use
2.The version of Telerik assemblies etc.
3.References to your project
You can also send us some sample code if possible.

Sincerely yours,
Bobi
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
PanelBar
Asked by
Deven
Top achievements
Rank 1
Answers by
Bobi
Telerik team
kesava pindi
Top achievements
Rank 1
Share this question
or