First of all, you can use a single RadDockLayout in order to persist the layout of all RadDock controls on the page. You just need to insert all dynamically created RadDockZones and dock controls in the RadDockLayout.
As for the LoadDockLayout
events, you can check the following help articles for more detailed information:
help article contains a schema that shows when each of the events is fired: http://docs.telerik.com/devtools/aspnet-ajax/controls/dock/structure/dock/lifecycle
Overall, LoadDockLayout is fired after the initialization of the dock controls, so that if there is any previously saved dock state (it is not the first page load), it is applied to them. SaveDockLayout is fired quite late in the page lifecycle so that any changes to the docks are saved, which will allow for them to be applied the next time a page is loaded via the LoadDockLayout
Finally, there is an explanation of the whole process of creating dock controls dynamically and persisting their state in the following help article: http://docs.telerik.com/devtools/aspnet-ajax/controls/dock/how-to/creating-raddock-dynamically
.You can check it in action in the Dynamically Created Docks
. What you need to do additionally is to create the RadDockZones on Page_Init
in addition to the dock controls so that the dock state is correctly applied after that.
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer
and share your thoughts.