I have a sub that I use to close a popup and refresh the parent webpage:

*Private Sub ClosePopupAndRefreshParentWindow()
Dim script As String = "<script language=""javascript"">" & 
System.Environment.NewLine & "self.close()" & System.Environment.NewLine & "
opener.location.reload(); self.close();" & "</script>"
Page.RegisterStartupScript("PopupCloseAndRefresh", script) 
End Sub*

Up until now, this sub would be executed and the parent page would refresh 
instantly. *Now*, after the above sub executes, IE pops up a question to the 
user prompting them to *Retry* or *Cancel *. 

*This warning/prompt annoys me to no end!* How can I avoid that IE 
warning/prompt thing from popping up before refreshing the parent???

Thanks so much,
Eliezer


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to