How to change 'data-val-number' message validation in MVC while it generate by helper?

This is not gonna be easy. The default message is stored as an embedded resource into the System.Web. Mvc assembly and the method that is fetching is a private static method of an internal sealed inner class ( System.Web.Mvc.

ClientDataTypeModelValidatorProvider+NumericModelValidator. MakeErrorString ). It's as if the guy at Microsoft coding this was hiding a top secret :-).

From this book on MVC 3 that I have. All you have to do is this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions