1
Answer

How to display message box if any error occur in the page using c sharp?

MohanRaj C

MohanRaj C

12y
1.6k
1
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?
Answers (1)