NumericUpDown MaxLength

2 posts, 0 answers
  1. Jose
    Jose avatar
    9 posts
    Member since:
    Jul 2010

    Posted 23 Nov 2010 Link to this post

    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
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 25 Nov 2010 Link to this post

    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,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
Back to Top