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

LoadLayout without closing and reopening?

3 Answers 22 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Buzz
Top achievements
Rank 1
Buzz asked on 26 Sep 2019, 07:28 PM

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

Sort by
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.
0
Buzz
Top achievements
Rank 1
answered on 09 Oct 2019, 06:54 PM

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.
Tags
Docking
Asked by
Buzz
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Buzz
Top achievements
Rank 1
Share this question
or