protected void btnclose_Click(object sender, EventArgs e) { Response.Write("<script language='javascript'> { window.close();}</script>"); }
<asp:button id="a" runat="server" text="sss" onclientclick="window.close()" xmlns:asp="#unknown" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)