Dynamically updating a parent page

  • Thread starter Thread starter Wannabe
  • Start date Start date
W

Wannabe

The following used to update a parent page:

ClientScript.RegisterStartupScript(typeof(Page), "ReloadParent",
"window.opener.location.href = 'ProjectOverview.aspx?projectID=" +
Request.QueryString.Get("projectID") + "';", true);

I added some Ajax, using the Ajax Toolkit, to the page, and now the script
does not update the parent. Is there a better way to update a parent page
than what I have above that will work with Ajax?
 
I have the script in a button click event, then when the user clicks submit,
it updates the popup, and parent windows.
 
Back
Top