try the following line of code from your codebehind:
ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "close", "window.close();", True)