DocumentPane Activate Event fires twice

4 posts, 0 answers
  1. Simon
    Simon avatar
    6 posts
    Member since:
    Dec 2008

    Posted 10 May 2009 Link to this post

    Hi

    I am evaluating the docking controls at the moment and have a few issues.

    Is there an easy way to tell when a DocumentPane becomes active. There looked to be a promising event on the DockingManager (DockTabChanged) but this doesn't seem to get fired when tabs are added or deleted or the document pane is split.

    The DockingWindow activate event seems to allow me to do what I want, but I have to add event handlers to each Document (which is doable but a pain). However the event fires twice for each activation (which is a pain to deal with). This is evident in your TabbedDocument sample (2009 Q1).

    Thanks 
       Simon
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 13 May 2009 Link to this post

    Hello Simon,

    I was able to reproduce the described issues regarding the DockTabChanged and Activated events. They will be addressed in the new RadDock control.

    I am updating your Telerik points for the report. If you have additional questions, feel free to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 04 Jun 2009 Link to this post

    Not only that, in some cases the Activate event and associated painting fires even when the document does not get visible (except for the tab header) at all. With a lot of open documents this leads to unnecessary repainting of the docked documents. This most noticeable if you have controls on your documents that do not support double buffering (for example the Split Bar of the Standard.net Split Container).
    When it happens you see a ripple of split bars from docked documents in the background painting through your current foreground window.

  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 12 Jun 2009 Link to this post

    Hi erwin,

    Thank you for the feedback.

    As I mentioned in my previous reply, the issues of the old DockingManager will be addressed in the new RadDock control.

    If want to share your feedback on the new RadDock Beta, we will be glad to take it.

    Regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top