Here Mudassar Khan has explained with an example, how to perform Decimal TextBox validation i.e. Decimal Number with maximum up to two decimal places validation on Server Side using Data Annotation in ASP.Net Core MVC.
The Decimal TextBox validation i.e. Decimal Number with maximum up to two decimal places validation will be performed using Regular Expression (Regex).
↧