Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I used Stunning popup to open a page in a popup window using



[^]


After child page( popup.aspx) is popped out I have to refresh a parent page(Default.aspx) as i have


asp controls in parent page which needs to be reloaded .


How to Refresh a parent page in this case when popout itself is a page




:)
Posted

You need to invoke the parent page reload from the child at the time of closing. Few discussed here.[^]
Try:
JavaScript
window.close();
if (window.opener && !window.opener.closed) {
      window.opener.location.reload();
 } 


Alternatively,
If you are using ModalDialog then you will have control on when the window was closed in Parent page itself. You can use that as an event to reload the parent page. Have a look at the example here.[^]
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900