Hi,
in one of my modules I use the following to close a pop up from code behind:
Page.ClientScript.RegisterStartupScript(this.GetType(), "start", "<script type=text/javascript>dnnModal.closePopUp(false); return false;</script>");
This worked fine for months until now.
The Google Chrome crashes, FF and IE does not close the pop up.
Changing the code to:
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId, "controlKey", "mid=123"));
works in all browsers (closing the pop up), but reopen the pop up using:
dnnModal.show('http://domain/page/ctl/EditWhatever/mid/123/id/1?popUp=true',/*showReturn*/true,400,600,true,'')
crashes Google Chrome againg
Any suggestions?
Thanks,
Harald