I am using jquery for client side validation together with data annotations. Everything is working fine but I would like to localize a message when a non numeric value is entere
Maybe a bit more elegant way is to rewrite System.Web.Mvc.ClientDataTypeModelValidatorProvider
class and replace it in ModelValidatorProviders.Providers
collection.
See section Implicit Non-Numeric-Field problem in http://jwwishart.blogspot.com/2011/03/custom-server-and-client-side-required.html for more details.