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

Refreshing page after closing popup?

P: n/a
VMI
My aspx (source.aspx) has a hyperlink that opens a popup page:
HyperLink_anadirNota.NavigateUrl = "javascript:CreateWnd('followup.aspx?id="
+txtNum + "',850,410,true)";

Now I want source.aspx to refresh automatically after I close followup.aspx.
How can I do this?

Thanks.

May 25 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
create a function in javascript to close followup.aspx. insert the
following code into the close function:

function closeme()
{
self.close();
parent.opener.location.href = parent.opener.location.href;
}

that should work.

May 25 '06 #2

P: n/a
scratch that actually. use this instead:

function closeme()
{
self.close();
parent.opener.document.forms[0].submit();
}

this way it will register as a post back on source.aspx

May 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.