• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

Refresh from pop up the page opener in ASP

I have a main page and it open a pop up window. But when close the pop up it send to refresh a main page.

I use this commands from pop up:

window.opener.location.href = window.opener.location.href;
 window.opener.location.reload();

It working but some time it does not refresh the main page.

If you have any advise.
We appreciate you help
Thanks
0
javierfh
Asked:
javierfh
  • 2
  • 2
1 Solution
 
pateljituCommented:
Could you please provide with code to help you with the issue and are you using FRAME in your code, you could also try

 window.opener.location.reload(true);
0
 
javierfhAuthor Commented:
Nobody sent me solution I still have problem.
0
 
pateljituCommented:
From my last response:
Could you please provide with code to help you with the issue and are you using FRAME in your code.
0
 
javierfhAuthor Commented:
function submitForm()
{
                  
            document.saving.submit();
            window.opener.location.href = window.opener.location.href;
             window.opener.location.reload(true);


            window.close();
            


}
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now