I am using a window manager to create an MDI - the functionality is quite standard:
1. On initial page load begin with 2 windows.
2. Populate a treeview with more options (windows) for them to show.
3. Allow them to close out the windows they have already opened
4. When done persist all changes in the database (windows, locations, dimensions, etc)
Basically, a dashboard. I have most of it working, but I am running into a challenge because it appears when the windows are initially created (server side) they go out with an ID I assign to them. Upon postbacks it appears they lose the ID assigned, and use "ctlxx" (where xx is a sequential number). In order to synch the state between the client and server I need to know which windows they closed / changed so I can remove them from the window manager. This part is important because I want to be able to save the dashboard and allow them to reload it as-is in the future - if they are just adding / resizing windows it works; it's when they remove them I have problems. Things tried:
1. EnableViewState enabled / disabled on both the window and manager. Tried different combinations.
2. PreserveClientState for the manager is set to true.
Has anyone attempted this? I am so close... does anyone have any suggestions?
Thank you,
John
1. On initial page load begin with 2 windows.
2. Populate a treeview with more options (windows) for them to show.
3. Allow them to close out the windows they have already opened
4. When done persist all changes in the database (windows, locations, dimensions, etc)
Basically, a dashboard. I have most of it working, but I am running into a challenge because it appears when the windows are initially created (server side) they go out with an ID I assign to them. Upon postbacks it appears they lose the ID assigned, and use "ctlxx" (where xx is a sequential number). In order to synch the state between the client and server I need to know which windows they closed / changed so I can remove them from the window manager. This part is important because I want to be able to save the dashboard and allow them to reload it as-is in the future - if they are just adding / resizing windows it works; it's when they remove them I have problems. Things tried:
1. EnableViewState enabled / disabled on both the window and manager. Tried different combinations.
2. PreserveClientState for the manager is set to true.
Has anyone attempted this? I am so close... does anyone have any suggestions?
Thank you,
John