how to trap selected document change?

3 posts, 1 answers
  1. Shaihan
    Shaihan avatar
    12 posts
    Member since:
    Jan 2010

    Posted 09 Mar 2010 Link to this post

    how do i know when a document is selected in RadDock? is there any event fired when the selected document window changes?

    i have tried using the Selected event of documentTabStrip under the RadDock but it doesn't fire when the selection is changed
  2. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 11 Mar 2010 Link to this post

    Hi Shaihan Murshed,

    The event that is fired when you select a DocumentWindow/ToolWindow is the ActiveWindowChanged event of RadDock:
    public Form1()
    {
        InitializeComponent();
      
        this.radDock1.ActiveWindowChanged += new Telerik.WinControls.UI.Docking.DockWindowEventHandler(radDock1_ActiveWindowChanged);
    }
      
    void radDock1_ActiveWindowChanged(object sender, Telerik.WinControls.UI.Docking.DockWindowEventArgs e)
    {
        throw new NotImplementedException();
    }

    All the best,
    Nikolay
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Shaihan
    Shaihan avatar
    12 posts
    Member since:
    Jan 2010

    Posted 12 Mar 2010 Link to this post

    thanks....i have already figured that out though
Back to Top