RadPanelBar remembering position?

10 posts, 0 answers
  1. Kirk Couser
    Kirk Couser avatar
    26 posts
    Member since:
    Apr 2009

    Posted 06 Aug 2009 Link to this post

    Currently I have two overlapped Panel Bars, each with their own lists.  By clicking on one it hides the original and makes the other one visible.  On the bottom of the other panel bar is a ToggleButtonElement that hides the panel bar and returns to the other view.  My question is how can i focus on the original element clicked so the user doesn't need to scroll all the way down to where he or she was before it made the switch? Because of the amount of elements in these panel bars and the targeted platform I had to do it this way. 

    Here is a visual description of what I am doing:

    Panel Bar 1
    ---------------
    Group 1
    Group 2
    Group 3

    By clicking on Group 2, Panel bar 1 becomes hidden and Panel Bar 2 is visible.

    Panel Bar 2
    ---------------
    Element 1
    Element 2
    Back to Groups Element

    By clicking on "Back to Groups", Panel Bar 1 is now visible again.

    Thanks.
  2. Aaron
    Aaron avatar
    8 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    I've experienced this as well. I believe the primary problem is that when you are scrolled down in the list of sections somewhere, and you click on one, the PanelBar sets the scroll bar all the way at the top.

    I'm curious, how are you using Panel Bar 1? Is it a ListBar style panel bar, and you are using the sections basically as buttons to switch to the other panel bar?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kirk Couser
    Kirk Couser avatar
    26 posts
    Member since:
    Apr 2009

    Posted 06 Aug 2009 Link to this post

    Panelbar 1 is filled with ~200 RadPanelBarGroupElements that act as buttons to the other Panelbar, I have the onclick event tied to each one and depending on which group element is clicked, it fills the other panel bar with those items.  When I only had 1 Panel Bar and simply had the group elements and elements in one it killed my loading time (from 14 seconds to over 90 seconds) on the Netbooks that the program runs on.
  5. Aaron
    Aaron avatar
    8 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    Have you thought about maybe using a ListBox to accomplish what Panel Bar 1 is doing? My guess is that it would probably decrease your load time a little more, and you would have better access to the scrolling functionality of the control (and therefor could focus on the element that was clicked on). The only downside is that the UI would be different from Panel Bar 2. =/
  6. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 12 Aug 2009 Link to this post

    Hello Kirk,

    RadPanelBar currently do not support logic such as ScrollIntoView or EnsureVisible per group element.
    We will consider adding this feature in one of the next releases of our controls.  For example when you call EnsureVisible for a group element then the scrollbar will automatically scroll up or down to that group.

    Write me back if you need more information about our controls.

    Best wishes,
    Boyko Markov
    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.
  7. Kirk Couser
    Kirk Couser avatar
    26 posts
    Member since:
    Apr 2009

    Posted 01 Sep 2009 Link to this post

    That would be great Boyko if that could be added in a future release.  I utilize panel bars through out the application and have to refresh them when changes are made after which is reverts to the top position.  I tried using the AutoScrollPosition property but it doesn't seem to work like I would have thought it would.

    Basically what I tried to do was after an element was clicked on, the Point object of the AutoScrollPosition would be saved.  Upon refreshing the panel bar the AutoScrollPosition property would be set to what it was before.
  8. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 04 Sep 2009 Link to this post

    Hi Kirk Couser,

    Thank you for the request, Kirk. We will do our best to implement this functionality for the next major release of RadControls for Winforms. If you have any questions regarding RadPanelBar, please do not hesitate to write us back.

    Regards,
    Boyko Markov
    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.
  9. MP
    MP avatar
    22 posts
    Member since:
    May 2009

    Posted 26 Mar 2010 Link to this post

    Dear Telerik Team,

    Has this feature been been released? I have a RadPanelBarGroup at the bottom that I keep hidden until the user hits a specific scenario. In this case, I unhide this RadPanelBarGroup and I would like to scroll all the way to the bottom so that the user knows what happened. I tried using the RadPanelBar.VerticalScroll but didn't work at all. Even when the ScrollBar is visible, this object has the Visible property set to false.

    Regards,
    MP
  10. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 29 Mar 2010 Link to this post

    Hi MP,

    Thank you for contacting us.

    I am afraid that we did not manage to include SrollTo functionality in RadPanelBar in the latest release. Unfortunately, there is not a suitable work-around at the moment as well. We will include this in some of the future releases, but I still cannot give you a time-frame for this.

    Do not hesitate to contact us again if you have any other questions.

    Kind regards,
    Martin Vasilev
    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.
  11. MP
    MP avatar
    22 posts
    Member since:
    May 2009

    Posted 29 Mar 2010 Link to this post

    Thanks. Hope this will make it in the next release.

    Since there is no workaround available, this is what we eventually came up with-
    To get the user to focus on a particular panel group, we just collapsed the remaining panel groups. This seemed to work as a crude workaround after doing a quick survey among the users.

    Regards,
    MP
Back to Top
UI for WinForms is Visual Studio 2017 Ready