rohitnet100
asked on
Internet Explorer needs to resend the information.
How can I stop Internet Explorer to stop asking :
"To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click retry to display the webpage again."
I am using below code to refresh my page from a popup window:
Collapse
Page.ClientScript.Register StartupScr ipt(GetTyp e(Page), "close", "<script language="'javascript'" type='text/javascript'>" & _
"window.close(); if (window.opener && !window.opener.closed) {" & _
"window.opener.location.re load(true) ; } </script>")
"To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click retry to display the webpage again."
I am using below code to refresh my page from a popup window:
Collapse
Page.ClientScript.Register
"window.close(); if (window.opener && !window.opener.closed) {" & _
"window.opener.location.re
You need to change the form method from POST to GET
ASKER
I have already checked this link, but my problem wasn't solved from solutions given there.
Let me know, if any other solutions you have, except those mentioned in this link which you send.
Let me know, if any other solutions you have, except those mentioned in this link which you send.
try this:
you can use
window.location=window.loc ation; to refresh the page
instead of
location.reload(true);
you can use
window.location=window.loc
instead of
location.reload(true);
No. The reload(true) is reloading from server which is what is needed since otherwise it loads from cache.
ASKER
I am already using Get method.
also, i tried window.location=window.loc ation, it wasn't display IE message, but, i lost my current data of webpage.
also, i tried window.location=window.loc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The message only comes if the form action on the parent page was HTTP POST so please have another look at how you communicate with the server in the opener page
Here is a suggestion to use a redirect after the form submission
http://forums.asp.net/t/1461810.aspx/1
Here is a suggestion to use a redirect after the form submission
http://forums.asp.net/t/1461810.aspx/1
ASKER
My parent page is Content page. Master page method is "Get".
PopUp window page mehod is also "Get".
Still i have no solution to avoid IE message.
PopUp window page mehod is also "Get".
Still i have no solution to avoid IE message.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How can i make chage to my content page method as "GET".
No idea. I do not do asp :(
ASKER
thanks
http://social.msdn.microsoft.com/Forums/en/iewebdevelopment/thread/a5a75d76-a810-4a30-9c71-7141f1287c89
It will answer all of your questions