You can access the parent window using
window.opener
And refresh the parent window using
window.opener.reload();
Check
Window opener Property[
^]..
To register these script, you can use
ScriptManager Class[
^]. Try this:
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Myscript1", "window.close(); window.opener.reload();");", true);
--Amit