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 Client Side using Data Annotation and jQuery in ASP.Net Core Razor Pages.
The Decimal TextBox validation i.e. Decimal Number with maximum up to two decimal places validation will be performed using Regular Expression (Regex).
↧