Click here to Skip to main content
15,889,876 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

My View contains two textBoxes One for code and another one for Description. Two input type image buttons One is Submit to insert new data if model is valid and another one is Back with class attribute cancel just to redirect to another view.
I implemented custom Validation for code both on server side and client side. Whenever the back button is clicked server side custom validation is executing and am getting error message "whatever I set for Custom server side validation". Anyone plz help me on how to disable validation on back button.

Thanks in advance
Anitha.M.S
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900