Hi all,
I have a problem with dynamically created docks, whereby the layout is loaded from a database for the current user. The problem is with saving the dock layout when a change is made - I am saving the current dock layout in the SaveDockLayout event handler, and I know that I have to recreate the docks on each postback (done in Page_Init), yet my problem is that Page_Init fires before the SaveDockLayout event, thus loading the user's current settings from the database and effectively resetting the dock layout back to the user's database settings before I get the chance to save the current layout.
I have pretty much followed the structure from the "My Portal" example from the demos page, and can't figure out how it is saving the state before the docks are loaded from CurrentDockState.
Am I missing something here?
I have a problem with dynamically created docks, whereby the layout is loaded from a database for the current user. The problem is with saving the dock layout when a change is made - I am saving the current dock layout in the SaveDockLayout event handler, and I know that I have to recreate the docks on each postback (done in Page_Init), yet my problem is that Page_Init fires before the SaveDockLayout event, thus loading the user's current settings from the database and effectively resetting the dock layout back to the user's database settings before I get the chance to save the current layout.
I have pretty much followed the structure from the "My Portal" example from the demos page, and can't figure out how it is saving the state before the docks are loaded from CurrentDockState.
Am I missing something here?