User-1759624489 posted
Hello.
I have a table with some integer columns
I put the following
[DisplayName("Metros Cuadrados")]
[Required(ErrorMessage = "Este campo es Requerido")]
[Range(0,int.MaxValue, ErrorMessage="El valor debe ser un entero positivo")]
public object SquareMeters { get; set; }
However the validator is throwing first the DataType exception that says:
The field Metros Cuadrados must be a valid Integer.
How can I change that message??
tHX