Thank you for writing.
I am not exactly sure about your actual setup. In case you are maximizing the child forms within the MDI container, the child menus will be merged automatically
. Since there is no menu merging event you need track changes in the WindowState of your child form and when you need to change the Dock property of the page view.
From your other ticket, however, I am assuming that you might be willing to have the child windows in a Normal
state and yet merge their menus to the menu of the parent form. This can be accomplished by using the MergeMenu
method of the RadMenu
control. If that is the case you can dock the page view whenever you merge the menus and undock when you unmerge them.
I am attaching my sample project in which I tested the described behavior. I hope that a similar approach would also fit your local setup.
I hope this helps. Should you have further questions please do not hesitate to write back.
Telerik by Progress