Hi,
I am using UltraDockManager in my application. I use the saveAsXML() to save the layout and reload the layout when the application comes up.
What I am trying to do is to save the setting after the user made the changes and load the layout in a child window. To successfully do that I need to exclude some of the DockControlPanes that will not be available in the Child Window.
I am trying to figure out how to exclude a dock control pane when using the saveAsXML() to save the layout information.
Any help is greatly appreciated.
Thanks,
-Suvinay
Hello Suvinay,
We are still following this forum thread.
Please feel free to let us know if you have any other questions with this matter.
Hello,
UltraDockManager is design to save all its ControlPanes and DockAreas , when you save its layout. So you could remove controls panes, which you do not want to save into the XML, from panes collection and then to save the layout of your UltraDockManger and after this to recover them (add them again to the controls pane collection). You could do this in SyspendLayout()/ResumeLayout() bloc. Other approach is to modify saved XML, in order to remove unwanted elements (nodes which represent control panes which you do not want to save) from the XML, but this could cause a lot of issues if you do not remove the nodes from the XML correctly.
Please let me know if you have any further questions.