This is a migrated thread and some comments may be shown as answers.

NumericUpDown MaxLength

1 Answer 127 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 23 Nov 2010, 06:18 PM
Is there a way to limit the input length? Not just the max value, but not letting the user to enter, for example, more than 5 digits + 2 decimals

Thanks, Jose

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 25 Nov 2010, 01:48 PM
Hi Jose,

Thank you for contacting us.

You can hook to the TextInputStart event of the NumericUpDown control and use the e argument to get the length of the Text entered.

Hope this information helps. If you have further questions please let us know.

Kind regards,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
NumericUpDown
Asked by
Jose
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or