I have a page that presents the user with some info. They make a choice the page logic may respond to this choice by opening a model window.
So far, so good.
Now, the user closes the window, either by using the button I've kindly provided (which, in turn calls GetRadWindow().close()) or by pressing the close window icon in the window title bar.
The window goes away. Note that I didn't say close.
The user makes another choice. This, in my case causes a redirect to another page. However, for a brief moment a window appears. The window is the same size as the window I opened, and thought I'd closed, previously.
So, I though, I'll set the DestroyOnClose property to true. Bad move. This doesn't do what I thought it would. In fact when the user makes a choice a NEW version of the window shows. I know it's a new version as it's a different size and has all the 'behaviours' enabled.
I've checked my code and I'm absolutely sure that I'm not calling the code to show the window the 2nd time (this code exists in just one place and I'm not getting anywhere near it).
FWIW, I'm making the radopen call from my server-side code using something like this ...
Where sb is a StringBuilder.
Can anyone offer any clues?
So far, so good.
Now, the user closes the window, either by using the button I've kindly provided (which, in turn calls GetRadWindow().close()) or by pressing the close window icon in the window title bar.
The window goes away. Note that I didn't say close.
The user makes another choice. This, in my case causes a redirect to another page. However, for a brief moment a window appears. The window is the same size as the window I opened, and thought I'd closed, previously.
So, I though, I'll set the DestroyOnClose property to true. Bad move. This doesn't do what I thought it would. In fact when the user makes a choice a NEW version of the window shows. I know it's a new version as it's a different size and has all the 'behaviours' enabled.
I've checked my code and I'm absolutely sure that I'm not calling the code to show the window the 2nd time (this code exists in just one place and I'm not getting anywhere near it).
FWIW, I'm making the radopen call from my server-side code using something like this ...
RadScriptManager.RegisterStartupScript(this, GetType(), "alerts", sb.ToString(), true); |
Where sb is a StringBuilder.
Can anyone offer any clues?