I have an ASP.NET project where I use a Kendo Numeric TextBox element. I've set a min value of 200 (in the example) and when the user enters a lower value, the input changes automatically to the min value.
Is there any way, or a property, that would enable me to avoid this and show the field in red or an error intead, rather than automatically correct to the min value?
This is my code:
@Html.Kendo()
.NumericTextBoxFor(model => model.Example)
.HtmlAttributes(new { style = "width: 80px;" })
.Format("#")
.Min(Model.MinValue)
EDIT: I forgot to say that the min value came from a web service.