Re: cause webpage one to reload when webpage two is closed.



On Jun 17, 9:19 pm, Paul <P...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi I tried a google search but could not find anything.  I am trying to cause
one webpage to reload when a second web page is closed.  The second webpage
loads data into a session variable and when closed I need to reload the first
page loading in the data from the session variable.  Since I need to close
the sescond form just setting the post back url to the first page on the
close button from the second page is not quite what I am looking for.
--
Paul G
Software engineer.

Hi Paul,

Try to add the following code to your second web page

<body onunload="opener.location.href=opener.location.href;">

You might be also interested to see the following thread
http://forums.asp.net/t/988319.aspx

Hope this helps
.