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.
Loading
Ravi ShekharPosted Jun 15, 2013, 5:28 AM
Your code is working . i was also looking for this code . Thanks.
Regards,
Ravi
Ravishankar SinghPosted Jun 14, 2013, 2:43 PM
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... :)