I am using RadWindow as a security challenge when users attempt to access premium content links within the site without being first logged in. Once the user logs in, they will be redirected to the appropriate page. One requirement is that the user be able to close the modal dialog and go back to previewing the site. The problem is that I don't want the RadWindow to force the parent page to reload when the RadWindow is closed.
I am passing arguments into the radwindow when the parent page calls it through the client-side showdialog function. Tthe problem is that if I don't allow the radwindow to refresh the home page when it's closed, the radwindow appends the argument to its querystring on every successive call. I'm wondering if there's a way to force this querystring to empty out between calls to the radwindow without forcing the parent page to reload and without setting the DestroyOnClose property to false for the RadWindow.
Does anyone know of a clean way to dispose of the RadWindow on the client-side and to reconstitute when the user next opens it? This is probably much more of a general javascript type of question but hopefully someone can help out.
Thanks
-Charlie
I am passing arguments into the radwindow when the parent page calls it through the client-side showdialog function. Tthe problem is that if I don't allow the radwindow to refresh the home page when it's closed, the radwindow appends the argument to its querystring on every successive call. I'm wondering if there's a way to force this querystring to empty out between calls to the radwindow without forcing the parent page to reload and without setting the DestroyOnClose property to false for the RadWindow.
Does anyone know of a clean way to dispose of the RadWindow on the client-side and to reconstitute when the user next opens it? This is probably much more of a general javascript type of question but hopefully someone can help out.
Thanks
-Charlie