In the example below, how can I restrict a user from entering more than 5 decimals in the textbox?
@(Html.Kendo().NumericTextBox<decimal>()
.Name("maxVarianceAmount")
.HtmlAttributes(new { style = "width:75px" })
.Format("c5")
.Min(0)
.Value(@ViewBag.MatchProcessor.VarianceAmount)
.Decimals(5)
.Spinners(false)
)
@(Html.Kendo().NumericTextBox<decimal>()
.Name("maxVarianceAmount")
.HtmlAttributes(new { style = "width:75px" })
.Format("c5")
.Min(0)
.Value(@ViewBag.MatchProcessor.VarianceAmount)
.Decimals(5)
.Spinners(false)
)