RadPanelBar and Scrolling

5 posts, 1 answers
  1. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 02 May 2012 Link to this post

    I'm having an issue using the panelbar with the way that is utilizes the scroll viewer... when there is not enough room for the contents of a panel in the panelbar it puts a vertical scrollviewer on the control - which is desired - but it puts the scroll bar on the entire control and not just the panel that is causing the height to be too great. This doesn't make any sense.

    As you can see in my attachment, this causes the horizontal scroll bar to appear as well - NOT desirable - and part of the vertical scroll bar covers part of the header of the panel that is open. It also pushes any other panel headers down to where you can't even see them - you have to close the panel that is open to even know that they are there.

    This can't be by design, can it?  What in the world would you want a control to do this for?

    I would like a scroll bar on the panel that doesn't have enough room, not the whole control. Is there any way to do this? I need to have the ability to collapse the panels as well as show all the content in each one and not have any of the headers become not visible.
  2. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 07 May 2012 Link to this post

    Hello Barry,

    Thank you for writing to us and sending your feedback on the RadPanelBar implementation. The ScrollViewer placement at the RadPanelBar was indeed a design decision which we revised again based on your feedback. As we can see your point on the matter, we will do our best to move the ScrollViewer to the top level RadPanelBarItem's ControlTemplate for the Q2 2012 release. You can track its progress here.

    In the meantime you can edit the ControlTemplates of the RadPanelBar and the top-level RadPanelBarItems in order to set a ScrollViewer inside each top-level item and remove it from the PanelBar template structure. I attached a sample project to get you started. Please have a look at it and let me know if it helps.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Daniel
    Daniel avatar
    7 posts
    Member since:
    Feb 2013

    Posted 10 Jul 2013 Link to this post

    I'm try to acomplish this with a RadGridView as the RadPanelBarItem content.
    I have the same trouble, scroll bars are displayed at top level(RadPanelBar) instead of second level (RadGridView)
    Please help me with this, how do I replace the stack panel for a gridview.
  5. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 10 Jul 2013 Link to this post

    As you can see from my attachment, I was able to resolve my issue with the answer that was provided by the Telerik support staff.

    Your issue seems a little different. I never needed a separate scrollbar inside the panel to work, I just need the scrollbar that is already built in to the control to be inside the panel. I got one in there but is it a little off from the header, but that's okay for now.

    You may want to post a new topic for this as your issue is different from mine and this thread is old and marked answered.
  6. Daniel
    Daniel avatar
    7 posts
    Member since:
    Feb 2013

    Posted 10 Jul 2013 Link to this post

    Hi, I solved my trouble disabling the RadPanelBar scroll bars
    <FONT color="#ff0000" size="1" face="Consolas"><FONT color="#ff0000" size="1"
    face="Consolas"><FONT color="#ff0000" size="1"
    face="Consolas">ScrollViewer.VerticalScrollBarVisibility</FONT></FONT></FONT><FONT
    size="1">="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
    <BR></FONT>

    I think this forces the gridview to display its own scroll bars
    Thanx anyway.
Back to Top
DevCraft banner