Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am working with MVC application using ASPX View Engine.So I want to make client side validations using javascript.I have to show an error icon when a control leaves states that it is a mandatory field.
So anybody explaimn with an example how to do it?

Thanks in advance.
Posted

1 solution

XML
<pre lang="text">I think for these. You can use J query and used dialog plugin for that.Because MVC4 provides DataAnnotion package..So, when form submit it will first check on page level by using Validator and then submit your form
</pre>
 
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