Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 04, 2013 04:26 AM by Yanping Wang - MSFT
Member
202 Points
728 Posts
Jan 28, 2013 04:55 PM|LINK
I have a modal popup and I have search every single example that i can find but I am unable to refresh my parent screen. Any ideas?
712 Points
139 Posts
Jan 28, 2013 05:04 PM|LINK
Are you talking about the standard child modal window supported only by IE?
All-Star
65719 Points
11133 Posts
Jan 29, 2013 02:32 AM|LINK
you can use this javascript
window.opener.location.reload();
Star
14863 Points
1527 Posts
Microsoft
Feb 04, 2013 04:26 AM|LINK
HI mrrogers,
You can refresh parent page on closing Modal child pop-up window using the following code in parent page
function OpenModalPopUP() { window.showModalDialog('modalpage.aspx'); window.location.reload(); }
Hope this helps, thanks.
mrrogers
Member
202 Points
728 Posts
Cannot refresh parent from modal popup
Jan 28, 2013 04:55 PM|LINK
I have a modal popup and I have search every single example that i can find but I am unable to refresh my parent screen. Any ideas?
teddy_q
Member
712 Points
139 Posts
Re: Cannot refresh parent from modal popup
Jan 28, 2013 05:04 PM|LINK
Are you talking about the standard child modal window supported only by IE?
chetan.sarod...
All-Star
65719 Points
11133 Posts
Re: Cannot refresh parent from modal popup
Jan 29, 2013 02:32 AM|LINK
you can use this javascript
window.opener.location.reload();
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Yanping Wang...
Star
14863 Points
1527 Posts
Microsoft
Re: Cannot refresh parent from modal popup
Feb 04, 2013 04:26 AM|LINK
HI mrrogers,
You can refresh parent page on closing Modal child pop-up window using the following code in parent page
function OpenModalPopUP() { window.showModalDialog('modalpage.aspx'); window.location.reload(); }Hope this helps, thanks.
Feedback to us
Develop and promote your apps in Windows Store