The effect you describe is usually caused by an incorrect saving and loading of the dynamically created RadDock state. I would suggest checking the following:
- When the dock is created for the first time on your page, add the dock to the RadDockLayout and then dock it to the RadDockZone to avoid ViewState issues on subsequent postbacks.
- Always recreate the docks with the same ID and UniqueName.
- Recreate the dock controls on Page_Init and call their method ApplyState to ensure that their state will be applied correctly.
The help article Dynamically Creating RadDock Controls is also quite useful when implementing such a scenario. Please follow the steps inside to resolve the problem.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed