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

RadPanelBar remembering position?

9 Answers 125 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kirk Couser
Top achievements
Rank 1
Kirk Couser asked on 06 Aug 2009, 03:37 PM
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.

9 Answers, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 2
answered on 06 Aug 2009, 06:35 PM
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?
0
Kirk Couser
Top achievements
Rank 1
answered on 06 Aug 2009, 06:51 PM
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.
0
Aaron
Top achievements
Rank 2
answered on 06 Aug 2009, 08:02 PM
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. =/
0
Boyko Markov
Telerik team
answered on 12 Aug 2009, 07:10 AM
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.
0
Kirk Couser
Top achievements
Rank 1
answered on 01 Sep 2009, 04:24 PM
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.
0
Boyko Markov
Telerik team
answered on 04 Sep 2009, 07:31 AM
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.
0
MP
Top achievements
Rank 1
answered on 26 Mar 2010, 06:02 PM
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
0
Martin Vasilev
Telerik team
answered on 29 Mar 2010, 02:34 PM
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.
0
MP
Top achievements
Rank 1
answered on 29 Mar 2010, 03:39 PM
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
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Kirk Couser
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 2
Kirk Couser
Top achievements
Rank 1
Boyko Markov
Telerik team
MP
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or