I try to close my current tab after confirm so i put the following code at the end of my confirm button , but the tab doesn't close !
string jScript = "<script>close_window();</script>";
ClientScript.RegisterClientScriptBlock(this.GetType(), "keyClientBlock", jScript);