How do I close a child window from javascript without the warning? May 28, 2009 ClientScript.RegisterClientScriptBlock(this.GetType(), "closePg", "window.open('', '_self', '');window.close();", true);