Limiting hieght of Panel bar

4 posts, 0 answers
  1. Deven
    Deven avatar
    33 posts
    Member since:
    Apr 2009

    Posted 07 Aug 2009 Link to this post

    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
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 12 Aug 2009 Link to this post

    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.
  3. DevCraft banner
  4. kesava pindi
    kesava pindi avatar
    9 posts
    Member since:
    Apr 2010

    Posted 10 May 2010 Link to this post

    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.
  5. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 13 May 2010 Link to this post

    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.
Back to Top