I have my own exception based on some condition and want to raise an alert when control comes in this catch block
catch (ApplicationException ex) { //want t
Simple use this to show the alert message box in code behind.
ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Record Saved Sucessfully');", true);