This is a migrated thread and some comments may be shown as answers.

Changing DockTabStrip of DocumentWindow event

2 Answers 102 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 05 Aug 2009, 03:30 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 07 Aug 2009, 07:36 AM
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.
0
Paul
Top achievements
Rank 1
answered on 07 Aug 2009, 12:37 PM
Thanks for quick response =) The second solution works great =)
Tags
Dock
Asked by
Paul
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Paul
Top achievements
Rank 1
Share this question
or