this codes in the HTML of your page
function myRefresh()
{
//Writes out the __doPostback call to the page. This is called when the pop-up window is closed to refresh the screen.
//The pop-up window calls this function, which in turn calls the Click event of the btnHiddenRefresh button.
// __doPostBack('thisPage:btnHiddenRefresh','');
<%=strRefresh %>;
}
<asp:Button ID="btnHiddenRefresh" runat="server" />