Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
function to close modular pop

function HideModalPopup() {
           parent.$find('modalpop').hide();            
               window.location.href = <parent pageurl>;
            }



when i try to reload parent page after closing modular popup control goes to page load function then all functions worked but page didn't get refresh.
Posted
Updated 9-Oct-15 0:09am
v3

1 solution

Try
XML
function HideModalPopup() {
           parent.$find('modalpop').hide();
               window.location.reload();
            }
 
Share this answer
 
Comments
Prakash Kanwar 9-Oct-15 7:30am    
i tried this but this not working
Member 12003400 9-Oct-15 7:56am    
window.opener.location.reload();

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