Is there a way to limit the number of characters entered? I need to only allow the user to enter 5 digits.
2 Answers, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 23 Mar 2010, 09:35 AM
Hello aa1237,
I suppose that you are talking for NumericTextBox component. You can achieve your goal as you set the MaxValue and MinValue. Thus the component will validate the input and will put t-state-error CSS class, but will not stop the the user to enter more digits.
If you need to stop user to enters more than five digits, you can wire the OnChange event and perform the required actions.
All the best,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.