Docking Panel Selected Event

3 posts, 0 answers
  1. John Cornell
    John Cornell avatar
    11 posts
    Member since:
    Feb 2007

    Posted 29 May 2007 Link to this post

    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. John Cornell
    John Cornell avatar
    11 posts
    Member since:
    Feb 2007

    Posted 29 May 2007 Link to this post

    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?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 29 May 2007 Link to this post

    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
Back to Top