I have three RadDockZones with RadDocks in them. When I move certain RadDocks from one RadDockZone to another I get the following exception:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
The RadDocks contain dynamically added content consisting of various User Controls. I save Layout DockStates in a database in the save event and load them in the load event. I create the RadDocks from state in the Page_Init event. If it matters the three dockzones are contained in a RadSplitter.
Is there another event I should be handling, like the DragEnd event?
Any help would be greatly appreciated.
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
The RadDocks contain dynamically added content consisting of various User Controls. I save Layout DockStates in a database in the save event and load them in the load event. I create the RadDocks from state in the Page_Init event. If it matters the three dockzones are contained in a RadSplitter.
Is there another event I should be handling, like the DragEnd event?
Any help would be greatly appreciated.