Thank you for contacting us and for the detailed description of the problem you experience.
Due to the transaction-based mechanism in RadDock TooWindow's caption double click will trigger the following events:
- RedockTransaction - if there is a previous floating state for this window, it will be restored. That is why the second time everything works just fine - such a state already exists
- When such a redock state does not exist, RadDock will take the default action, which in this case is to register another FloatTransaction.
What I can see as a wrong behavior here is that the first transaction is changing the state of the window while it is still docked on RadDock. In fact it is the second transaction that does the actual floating. We will revisit this behavior and implement it properly either for Q1 2010 or for some of our next major releases (including service packs).
For now you can hook the TransactionCommitted event of RadDock and examine the FloatingParent member of all AssociatedWindows:
sender, RadDockTransactionEventArgs e)
FloatingWindow floatingWindow = window.FloatingParent;
floatingWindow.FormBorderStyle = FormBorderStyle.FixedToolWindow;
I would like to thank you for your time and your feedback. Do not hesitate to contact us if you have other questions.
All the best,
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.