Changing DockTabStrip of DocumentWindow event

3 posts, 1 answers
  1. Paul
    Paul avatar
    7 posts
    Member since:
    Jul 2008

    Posted 05 Aug 2009 Link to this post

    Hi,
    I want to informed (preferebly by event) that DockTabStrip of a given DocumentWindow has changed.

    In other words. Imagine I have two documents (in the same TabStrip, only one can be seen at a time) and I drag one out and dock it, lets say, on the left. Now I can see both of the documents at the same time. Is there any event that fires up on such action?

    Obvoiusly I work with RadDock control =)

  2. Answer
    Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 07 Aug 2009 Link to this post

    Hi Paul,

    Thank you for contacting us. There are two ways for getting notified when a DockWindow parent is changed:

    - Subscribe to ParentChanged event of the window itself.
    - Subscribe to TransactionCommitted event (available since Q2 2009 SP1) of RadDock which gives you a detailed information of the transaction and all associated DockWindow instances.

    I recommend the second one as it is more robust and it only occurs after an internal operation in RadDock.

    Please, do not hesitate to write back if you have further questions.

    Best wishes,
    Georgi
    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. Paul
    Paul avatar
    7 posts
    Member since:
    Jul 2008

    Posted 07 Aug 2009 Link to this post

    Thanks for quick response =) The second solution works great =)
Back to Top