error with validation for decimal datatype
- by Ali
hi
this is my code for validation money type
[Required(ErrorMessage = "???? ???????? ?? ???? ????")]
[RegularExpression("^[+]?\d*$", ErrorMessage = "*")]
public decimal FirstlySum { get; set; }
if i enter very word for textbox i got this error
The value 'asdf' is not valid for FirstlySum.
the error message dosen't show.
how can i fix it?