I'm trying to use the RadDock control to display dynamic content (i.e. as the user makes selections a RadDock is created, populated with the appropriate controls and added to a RadDockZone.
I have one RadDockLayer, that contains one RadDockZone which is intended to contain zero or more RadDocks. RadDockLayer.EnableViewState and RadDockLayer.StoreLayoutInViewState are both false.
As near as I can tell, I've implemented the online instructions for restoring the RadDock controls on a postback: A DockStates property, LoadDockLayout and SaveDocLayout event handlers -- though I've never seen the SaveDocLayout event handler raised, a Page_Init handler that loads the data from the session state, etc.
However, when a postback occurs, I end up, it appears that the markup contained in a RadZone is generated twiece. If I don't re-initialize the RadDocks in the Page_Init, none show up. If I do, two show up for each one actually in the system.
Any ideas?
I have one RadDockLayer, that contains one RadDockZone which is intended to contain zero or more RadDocks. RadDockLayer.EnableViewState and RadDockLayer.StoreLayoutInViewState are both false.
As near as I can tell, I've implemented the online instructions for restoring the RadDock controls on a postback: A DockStates property, LoadDockLayout and SaveDocLayout event handlers -- though I've never seen the SaveDocLayout event handler raised, a Page_Init handler that loads the data from the session state, etc.
However, when a postback occurs, I end up, it appears that the markup contained in a RadZone is generated twiece. If I don't re-initialize the RadDocks in the Page_Init, none show up. If I do, two show up for each one actually in the system.
Any ideas?