I have been trying with below code its getting execute but messagebox not displaying and tab also not getting close.
ScriptManager.RegisterStartupScript(this, this.GetType(), "Messagebox", "alert('Record Deleted successfully.Note: This tab is now getting close');", true);
so i just remove the 'alert' code from above code then its getting execute and getting close the tab. But I also want to display notification message box so how?
ScriptManager.RegisterStartupScript(this, this.GetType(), "Messagebox", "window.close();", true);