Completed
Last Updated: 18 Jul 2023 14:26 by ADMIN
Release R2 2023 SP1
Kris
Created on: 26 Dec 2022 11:12
Category: Dock
Type: Feature Request
0
RadDock: Add functionality for clear loading of XML layout
Currently, loading the store layout in RadDock may result in different UI panels according to the available internal splitcontainers/panels that are invisible. Perhaps a "SaveAsDefaultLayout()" and "RestoreDefaultLayout()" method could be introduced. Thus, it wouldn't be necessary to clear the windows before loading XML layout.
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 26 Dec 2022 11:28

Hi, Kris,

Thank you for bringing this to our attention. We will consider with the future improvement of the RadDock control.

Currently, the possible solution that I can suggest is to reset the RadDock and clear all windows before the LoadFromXml operation using this API: 

this.radDock.RemoveAllWindows(DockWindowCloseAction.CloseAndDispose);
this.radDock.CleanUp();

I hope this helps.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.