This question is locked. New answers and comments are not allowed.
I believe there is a validation bug in 2010.3.1110 grid view (which was not there in previous versions)
The (commented out) Range validation above now always fails, even with a correct value such as 5, However, the (nearly equivalent) Regex (not commented out) does work as expected so I'm using that as a workaround.
// [Range(0, 9)] [RegularExpression("[0-9]", ErrorMessage = "Pol: Enter a value 0-9")] [DisplayName("Pol")] public int? POL { get; set; }The (commented out) Range validation above now always fails, even with a correct value such as 5, However, the (nearly equivalent) Regex (not commented out) does work as expected so I'm using that as a workaround.