Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > Reset layout of dockpanels at runtime

Answered Reset layout of dockpanels at runtime

Feed from this thread
  • Mercell avatar

    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 admin's avatar

    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

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Dock > Reset layout of dockpanels at runtime
Related resources for "Reset layout of dockpanels at runtime"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]