How to display message box if any error occur in the page using c sharp?
How to display message box if any error occur in the page using c sharp?
If any error occur in the page during submitting the form,
i need to display message box.....
I tried this code in Exception
Response.Write("<script>alert('" + ex + "')</script>");
but it dindt work .....
How i solve this problem?