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
if you are using ajax in your page that require script manager Page.ClientScript will not work, Try this and it would do the work:
Page.ClientScript
ScriptManager.RegisterClientScriptBlock(this, GetType(), "alertMessage", @"alert('your Message ')", true);