I have an asp page that opens a 'pop-up'window which is an aspx page.
In my code behind I have:
Private Sub btnSaveClose_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSaveClose.Click
SaveDetails()
Response.Write("<script language='javascript'> { window.opener.refresh();}<
/" & "script>")
Response.Write("<script language='javascript'> { window.close();}</" & "script>")
End Sub
The window.close was working fine.
I then added the refresh line as I wanted to refresh the page from which the child page was opened but im getting:
Object doesnt support this property or method.....
What am i doing wrong?
Start Free Trial