Subscribe to Code Snippets
We can check the exception thrown and we can pass our own message in the alert as follows
protected void ShowAlertBox(string Alert) { ClientScript.RegisterClientScriptBlock(typeof(Page), "alert", ""); }
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend