The code window.opener.location.reload(); works well in Internet Explorer, but it doesn't refresh the parent page in Mozilla Firefox. Can someone please advise me on how to refresh the parent page in a way that is cross-browser compatible?
Here is the function I am using:
Shared Sub CloseMyWindow()
Dim tmpStr As String = ""
tmpStr += "window.open('','_parent','');window.close();"
tmpStr += "window.opener.location.reload();"
HttpContext.Current.Response.Write("<script language='javascript'>" + tmpStr + "</script>")
HttpContext.Current.Response.End()
End Sub
Thank you