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

Docking Panel Selected Event

2 Answers 118 Views
Dock
This is a migrated thread and some comments may be shown as answers.
John Cornell
Top achievements
Rank 1
John Cornell asked on 29 May 2007, 07:17 AM
Hi

I have 4 docked panels on a docking manager, initially as Tabs.

I need an event to fire when a panel is selected (the tab clicked) so I can update another panel with information about the selection.

The visible event on each dock panel fires for all docked panels when the dock is changed, as does the focus and paint events, the tab index changed on the docking manager does nothing.

Please help, I have tried pretty much everything, and am about to reverse by changes and remove the control

2 Answers, 1 is accepted

Sort by
0
John Cornell
Top achievements
Rank 1
answered on 29 May 2007, 10:33 AM
I have found the Activated event to almost do the job, the issue I have found is that when docked panels are in a tabbed group, and a new tab is selected, the active panel is not the only one to receive an activated event, but it is the last to, so code is being run for other panels, the the active window last (multiple times sometimes)

Is this a known behaviour or problem?
0
Julian Benkov
Telerik team
answered on 29 May 2007, 03:22 PM
Hi John Cornell,

This feature is in our TODO list. It will be added in the upcoming SP2 release planned for next month.  Currently you may use the Activated event of the IDockable window (DockPanel). I hope this helps.

 
Greetings,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
John Cornell
Top achievements
Rank 1
Answers by
John Cornell
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or