By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

Reloading launch window

P: n/a
When I close a pop up window, I'm using Javascript to reload the launch
window(window.opener) in order to pick up any changes I have just submitted
to the database.

This works well but for an alert that appears every time saying:
"This page cannot be refreshed without resending the information. Click
Retry to send the information page again or click Cancel to return to the
page you are tyrig to view."

Is there any way that I can stop this message from being displayed?

Thanks for any help in advance,

CR

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

For anyone interested. I found a working solution:
The problem with .net-pages is that there is always a form inside, so the
reload() function used in the javascript to reload the launch window, will
ask if your sure you want to do a reload.
So instead of using reload(), see the work around below:

Put the code below at the end of your page processing:
Response.Write("<script>window.opener.location=win dow.opener.location;
self.close();</script>")

:-)
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.