Refreshing page after closing popup?

G

Guest

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.
 
J

Jimi200478

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.
 
J

Jimi200478

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top