Hi sir,
Tell me the steps to refresh the parent window after closing the child [popup] window.
In parent window , i have a gridview which display all the user details. If i click the view button, it will
display the corresponding record in popup window.
In Child window, i have a details view in which the user can edit the individual details depending on
selection in gridview. After finish updating the records in detailsview, i have to close the popup and
the updated values should be update in the parent window.
Kindly give me the solution for this problem.
How to refresh parent window after close the popup window
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ravishankar SinghRank #669 · 3.6K reputationPosted Jun 14, 2013, 10:43 AM EDT
Call below method on close of popup:
function refreshParent()
{
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
{
window.opener.progressWindow.close()
}
window.close();
}
Hope this will help you... :)
Ravi ShekharRank #673 · 3.6K reputationPosted Jun 15, 2013, 1:28 AM EDT
Your code is working . i was also looking for this code . Thanks.
Regards,
Ravi