This question is locked. New answers and comments are not allowed.
I've run in to two issues that will hopefully help others too
1) DataAnnotations don't create element attributes if model is null
There seems to be a different behavior between how MVC add's the data-validation attributes to an element and how Telerik controls do. With telerik it seems that if a model (or sub model) is null the data validation attributes aren't included with the element.
Workaround: Pass an empty model to your view:
2) jQuery.validate.js v1.9.0 ignores hidden input fields used by ComboBox
The jQuery.Validation.Plugin version 1.9.0 has a change of behavior from 1.7 and by default ignores hidden elements. You have to use a method to remove the ignore: ":hidden" property in order for it to work with Telerik.
Workaround:
1) DataAnnotations don't create element attributes if model is null
There seems to be a different behavior between how MVC add's the data-validation attributes to an element and how Telerik controls do. With telerik it seems that if a model (or sub model) is null the data validation attributes aren't included with the element.
Workaround: Pass an empty model to your view:
return View(new RegisterModel());//instead ofreturn View();2) jQuery.validate.js v1.9.0 ignores hidden input fields used by ComboBox
The jQuery.Validation.Plugin version 1.9.0 has a change of behavior from 1.7 and by default ignores hidden elements. You have to use a method to remove the ignore: ":hidden" property in order for it to work with Telerik.
Workaround:
// After jquery.validate.js is loaded$.validator.defaults.ignore = [];