Inconsistent Behavior for ActiveWindowChanging event

2 posts, 1 answers
  1. Phi
    Phi avatar
    47 posts
    Member since:
    Dec 2008

    Posted 27 Oct 2010 Link to this post

    I noticed that RadDock's (2010.2.10.914) ActiveWindowChanging event has some inconsistent behaviors:

            private void mainDock_ActiveWindowChanging(object sender, DockWindowCancelEventArgs e)
                //Current: radDock1.ActiveWindow
                //Changing To: e.DockWindow
                if (radDock1.ActiveWindow != e.DockWindow)
                    //There are at least 2 documents in radDock1
                    //There is none or only 1 document in radDock1

    It would be nice if DockWindowCancelEventArgs class would have both the current and the changing-to DockWindows information.
    This is useful when you have a situation where a MDI application and documents having their own RadDock components. In this scenario, when switching between documents, it would be a good idea to hide any floating windows in the existing document before switching to the changing-to document. I don't think RadDock currently has anything for this purpose.

  2. Answer
    Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 02 Nov 2010 Link to this post

    Hello Phi,

    We modified the event arguments and now they contain the OldWindow and the NewWindow. This improvement will be a part of Q3 2010 release scheduled for the first half of this month.

    Thank you for the feedback and suggestions. Your Telerik points have been updated.

    Sincerely yours,
    Julian Benkov
    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
Back to Top