Hi All,
Please help me in closing browser when clicked on log out button
string strClose = "<script language=\"JavaScript\">window.opener='X';window.open('','_parent','');window.self.close();</script>";
Page.ClientScript.RegisterStartupScript(typeof(string), "clientScript", strClose);
i used above code but its not working, please help me.