This is a migrated thread and some comments may be shown as answers.

Restore layout and floating windows

1 Answer 272 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Maurice
Top achievements
Rank 1
Maurice asked on 10 Apr 2019, 03:23 AM

Hi team,

How can I restore the "default" location of all floating windows when restoring the docking layout from the saved XML? That is, windows can be floated and arranged in any configuration, then saved - however, on restore any floating windows will be re-docked back to the XAML defined location for that panel.

 

Thanks,
Maurice

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 12 Apr 2019, 12:22 PM
Hello Maurice,

I think we have the right example for you. You can take a look at the SaveLoadLayout SDK example in our GitHub repository. The example demonstrates how Save/Load layout functionality works in the RadDocking control. When you run the project you can make several panes in floating panes and save the layout. Then you can change their location and load the last saved XML string. The panes are positioned to their last saved location.

Hope this project will work for you. If I have missed some step from your scenario or you have any other questions, please don't hesitate to contact us again.

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Docking
Asked by
Maurice
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or