To refresh the parent page on child page closing,
write this code in aspx page body tag of child window
<body onunload="window.opener.location.reload();">
close the child page once operation is done.
Page.ClientScript.RegisterStartupScript([GetType], "Close", "javascript:window.close();", True)
write this code in aspx page body tag of child window
<body onunload="window.opener.location.reload();">
close the child page once operation is done.
Page.ClientScript.RegisterStartupScript([GetType], "Close", "javascript:window.close();", True)
No comments:
Post a Comment