Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# jQuery
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
 

 

Smile | :)
Posted 7-Jun-12 19:41pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You need to invoke the parent page reload from the child at the time of closing. Few discussed here.[^]
Try:
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.[^]
  Permalink  

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

  Print Answers RSS
0 Nirav Prabtani 318
1 OriginalGriff 227
2 Sergey Alexandrovich Kryukov 216
3 Mika Wendelius 185
4 CPallini 170
0 Nirav Prabtani 284
1 OriginalGriff 217
2 Sergey Alexandrovich Kryukov 196
3 Mika Wendelius 185
4 CPallini 170


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100