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

RadPane Focus

3 Answers 277 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 09 Mar 2011, 02:06 AM

Hi,

How would you handle the following issue?

Setup
I have a DocumentHost control which contains 2 RadPanes (RadPane1 and RadPane2). Each RadPane contains 2 textboxes (Textbox1 and Textbox2). I have subscribed to the GotFocus and LostFocus on each RadPane.

Steps
1. I float RadPane2 and subscribe to the GotFocus and LostFocus of the ToolWindow using the PaneStateChange event.
2. I leave RadPane1 in the DocumentHost.
3. I click on RadPane1 Textbox1 and the RadPane1 GotFocus is fired.
4. I click on RadPane2 Textbox1 and the RadPane2 and ToolWindow GotFocus is fired.
5. I click on RadPane1 Textbox1 and no GotFocus is fired for RadPane1.
6. I click on RadPane2 Textbox1 and no GotFocus is fired for RadPane2.
7. If I click on RadPane1 Textbox2 GotFocus is fired.

Observation
It seems as though I can have one RadPane in the DocumentHost and one floating ToolWindow which both think they have focus at the same time. Shouldn't I only be able to have one RadPane that has focus as any point in time?

Question

How can I work out which pane has focus regardless of where it is located? Unfortunately the RadDocking control does not have an event like this.

 

3 Answers, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 1
answered on 10 Mar 2011, 01:58 AM
See support ticket  401889
0
Joel
Top achievements
Rank 1
answered on 17 May 2011, 09:30 PM
I'm also looking for the ability to find the last selected pane for use with contextual ribbon tabs.  I don't think I can see support ticket 401889.  What's the current state of this issue?
0
Yana
Telerik team
answered on 18 May 2011, 08:20 AM
Hi Patrick,

This feature will be included in the Q2 2011 beta release.  You can track its progress in our public issue tracking system here.

All the best,
Yana
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
Tags
Docking
Asked by
Patrick
Top achievements
Rank 1
Answers by
Patrick
Top achievements
Rank 1
Joel
Top achievements
Rank 1
Yana
Telerik team
Share this question
or