When I wrote that post last night, I mistakenly read the date Jan 24, 2011 as 2012 and assumed it was a recent post. Otherwise I would have started a new thread.
But my problem remains. I have a RadWindowManager with DestroyOnClose='true' but on every postback, even after closing the window theRadWindowManager's Windows collection still contains the window. I do not have VisibleOnPageLoad set. Instead, on every load, I run the following javascript.
This successfully opens all the windows minimized inside a taskbar. The problem is that since closded windows are still in the Windows Collection, they reappear.
I did write some code called "OnClientClose that does successfully delete the window from the windows collection on the client side, but it doesn't persist. That code is below:
This code was added in desperation to try and get the information persisted to the server side. I tried setting EnableViewState to false, but as expected that makes it forget about all Windows in the Windows collection except for ones added during that postback, which means it does forget about closed windows but also forgets about minimized windows.
I am about to add a HiddenField which will contain the ClientIDs of all Windows and then I will use that server side to deduce which windows, if any, were closed. While I am hopeful this will work, I am sure it's not the way it is supposed to work.
Suggestions welcomed!!