When I call LoadLayout to reload my saved layout, my windows close and reopen.
It works, but I'd rather they just jump (or animate) to the loaded positions.
Is there a way to accomplish this?
Thank you
Buzz
3 Answers, 1 is accepted
0
Accepted
Dilyan Traykov
Telerik team
answered on 01 Oct 2019, 11:58 AM
Hi Buzz,
With the current implementation of the LoadLayout method, the current layout of RadDocking - all RadPanes (including floating panes), RadPaneGroups and RadSplitContainers - is cleaned. You can prevent this from happening by canceling the ElementLayoutCleaning event for the given pane as explained in this article. In this case, however, you will need to manually persist the settings of the floated panes.
I hope you find this information helpful. Please let me know if I can further assist you with anything else.
Regards,
Dilyan Traykov
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.
Between canceling in RadDockingElementLayoutCleaning and RadDockingElementLoading I was able to do what I needed for my situation.
You led me in the right direction.
Thank you
Buzz
0
Dilyan Traykov
Telerik team
answered on 10 Oct 2019, 09:00 AM
Hi Buzz,
I'm happy to hear that you managed to find a suitable solution for your scenario. Please let me know if I can further assist you with anything else.
Regards,
Dilyan Traykov
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.