Click here to Skip to main content
15,606,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I want to make validation using Model.Hi I can Validate My Page Using Model Validations Using Visual Basic.
Updated 22-Jul-15 0:20am
Mukesh Pr@sad 22-Jul-15 6:51am    
HI Khushi,
If I am not wrong, you are asking about data annotations. if it is the case once visit this link.
Khushi Saraswat 24-Aug-15 4:10am    
thanks friend i got it.i need to use it.

1 solution

This is how you add validation using MVC Model (Server Side)[^]

and if you want to do it using JavaScript (client side) use this jQuery validation plugin:[^]
Share this answer

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