Thanks for the project. I know its been a while but I have run into a new scenario. I have a dialog which opens in a RadWindow. I open the dialog window using radopen. The dialog has a "Close" button and a "Save" button. If the user clicks on "Close" I wish to display the confirmation dialog. If they click on "Save", I wish to perform some server-side actions and close the window when complete without a confirmation. I have got it working so that the confirmation appears when they click on "Close", or if they click on the rad window "X" icon for that matter.
On the parent page, I have:
if they click on the "X" or on "Close" the confirmation is displayed.
However, when I try to explicitly close the window after the server-side code is run (by using
ClientScript.RegisterClientScriptBlock and calling closeActiveWindow:
I get the confirmation to show, which I don't want. I tried to insert the following prior to calling closeActiveWindow() in the server side close call;
but I get a "too much recursion " javascript error.
I also tried the following and got the same error: