R
rbutch
hey guys any ideas why i would get a browser alert of==
"The page cannot be refreshed without resending the information"
"click Retry to send the information again..etc"
i'm opening a child.aspx window using==
btnConfirmUpdate.Attributes.Add("onclick", "window.open('popup.aspx','popup','width=250,height=250,left=270,top=180');")
and then depending on which button you click in the modal window, it stores into a session variable (yes or no)
Button1_Click(etc)
Session("decision") = "yes"
so far so good. now i have a response stored in the session variable. i just need to get back to the parent and somehow do a postback or something to load that variable.
but, when it runs this code below to refresh the Parent which would update and store that session variable, it gives the browser alert i referred to at the beginning of this post.
Response.Write("<script language=javascript>opener.location.reload();window.close('popup.aspx');</script>")
thanks for any help on this.
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
"The page cannot be refreshed without resending the information"
"click Retry to send the information again..etc"
i'm opening a child.aspx window using==
btnConfirmUpdate.Attributes.Add("onclick", "window.open('popup.aspx','popup','width=250,height=250,left=270,top=180');")
and then depending on which button you click in the modal window, it stores into a session variable (yes or no)
Button1_Click(etc)
Session("decision") = "yes"
so far so good. now i have a response stored in the session variable. i just need to get back to the parent and somehow do a postback or something to load that variable.
but, when it runs this code below to refresh the Parent which would update and store that session variable, it gives the browser alert i referred to at the beginning of this post.
Response.Write("<script language=javascript>opener.location.reload();window.close('popup.aspx');</script>")
thanks for any help on this.
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...