RadTextBox and setting Maxlenght

2 posts, 0 answers
  1. Don
    Don avatar
    22 posts
    Member since:
    Oct 2007

    Posted 25 Jul 2008 Link to this post

    We have Rad Textboxes that excepts input from the user. take for example, we have a FirstName RadTextBox. we set the maxleght in code : 

    tbFName.MaxLength = 20 ;

    at runtime the user can continue to enter more than 20 characters.

    How do we restrict user input to set numbers of characters.

  2. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 28 Jul 2008 Link to this post

    Hi Don,

    I tried to reproduce the problem locally, but to no avail. I attached a sample demo project for your reference. What am I missing?

    Greetings,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top