Mercell
Posted
on Jul 17, 2008
(permalink)
Hi,
We are using SaveXML and LoadXML to save/restore the layout of dockpanels. Is there a way to restore the layout back to the one created at designtime?
Let's say the user completely messed up his arrangement of dockpanels and want's to restore it back to the "default" at runtime - how do we do that?
Thanks.
Brian
Reply
Answer
Nikolay Dobrev
Nikolay Dobrev
Posted
on Jul 17, 2008
(permalink)
Hi Bo,
I guess you can save the layout that you have created design-time as a resource and load it back on request (as you say when a user messed up the layout). I would suggest you take a look at the following tutorial in our documentation, dealing with layout restoration:
http://www.telerik.com/help/winforms/dock_objectserializingtutorial.html
Don't hesitate to contact us if you have further questions.
Sincerely yours,
Nikolay Dobrev
the Telerik team
Reply