Reputation: 888
I'm looking for sample implementation/documentation of How to use IClientValidatable with MVC4 and jQuery.Validation. I've found this very good resource having everything here.
http://msdn.microsoft.com/en-us/vs2010trainingcourse_aspnetmvccustomvalidation_topic3.aspx
but problem with that with MVC4 there is no such thing as MicrosoftMvcValidation.js with mvc 4 project default script. And I need to have custom validation for client and server. so any documentation/codesnippet/how-to-guidelnes will be very much appreciated.
Upvotes: 1
Views: 2453
Reputation: 5545
Try using these scripts files that would work with IClientValidatable
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
These are in Scripts
folder of your project you can reference these scripts to get it work
Upvotes: 2