We're using the DocumentHost as the central part of our application. Panes are opened and closed on a fairly high rate - similarly to a browser's tabs. Panes are sometimes opened as a result of a menu action (from the top menu) and sometimes as a result of an item which was clicked inside a specific pane.
When a pane is closed, the user expects that the previously selected pane will now be selected (instead of simply selecting the first pane). This works kind of like a stack, whenever a pane is selected it's added to the top of the stack and when a pane is hidden/closed we should pop the previous one from the stack and make that the selected one (and not simply the first).
While we have a few thoughts at implementing this, we'd appreciate your feedback - how can we best implement this? Could this also be a built-in feature for the DocumentHost in the future?
Thanks,
yonadav
7 Answers, 1 is accepted
What I could suggest you is to use the SelectionChanged event of the RadPaneGroup control to update your stack and to listen to the Close event of the Docking control as well and to change the selection of the group that owns the closed pane.
Hope this information helps!
All the best,Miroslav Nedyalkov
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.

The current behavior (selecting first pane when current pane is closed) is very annoying for the user. It shouldn't be too difficult to modify RadPaneGroup to maintain a "selection stack" so that when a pane is closed the previously selected pane is selected. Is there a chance this change can be included in a Q2 2010 SP?
Thanks,
Joe
Thank you for contacting us.
If we receive a significant amount of clients' requests we will consider implementing it. You can track the progress of this issue in our Public Issue Tracking System (PITS) with Issue ID = 1992.
I hope this helps!
George
the Telerik team

What's the status on the PITS item? We would also like this implemented as a standard feature.
This item is not done yet. Thank you for your feedback, we will consider implementing it in our further releases.
George
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

However, that item doesn't seem to have anything to to with the problem discussed in this thread. In the last release (2012.2.725.40) the problem is still there: When closing a pane the first pane in the group always gets selected.
Are there any plans on fixing this? Or maybe a new PITS item on the subject?
Regards
Tobias
We give our best to implement the right behavior for the Q3 2012.
All the best,
Ventzi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.