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
You should try this.
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('Sakla Test');", true);