This question is locked. New answers and comments are not allowed.
Am I missing this feature? Do you have an example of how to accomplish this? Example:
@(Html.Telerik().NumericTextBox()
.Name("Value")
.Spinners(true)
.Enable(true)
.MinValue(28)
.MaxValue(46)
.IncrementStep(1)
.EmptyMessage("")
.InputHtmlAttributes(new { style = "width: 58px;", tabindex = "2" })
)
Min / Max validate and stepping 1 by using the spinners works fine. However, you can type any value in the range, including decimals. So, 28.5 is allowed even though the step is 1. I might also have ranges that are in .5 or .25 but typed values of .12 or .35 would be allowed.
Certainly we could validate these ourselves, i just wanted to make sure before we go down that path.
Thanks for your efforts! These are great open source tools.
@(Html.Telerik().NumericTextBox()
.Name("Value")
.Spinners(true)
.Enable(true)
.MinValue(28)
.MaxValue(46)
.IncrementStep(1)
.EmptyMessage("")
.InputHtmlAttributes(new { style = "width: 58px;", tabindex = "2" })
)
Min / Max validate and stepping 1 by using the spinners works fine. However, you can type any value in the range, including decimals. So, 28.5 is allowed even though the step is 1. I might also have ranges that are in .5 or .25 but typed values of .12 or .35 would be allowed.
Certainly we could validate these ourselves, i just wanted to make sure before we go down that path.
Thanks for your efforts! These are great open source tools.