Summary

By completing this Hands-On Lab you have learned how to use custom validations in your page with the user of the following concepts:

  • Data annotations for model validation
  • ASP.NET MVC 3 IClientValidatable interface
  • A Custom MVC ModelClientValidationRule
  • MVC ValidationAttribute inheritance
  • A Custom server validation using IValidatableObject interface
  • ASP.NET MVC 3 Unobtrusive jQuery validation