How restricting the number of characters in a input text box?

An alternative is to just use SubString (still using on the suggested ontextchanged)

Just set length to your maximum allowable size. It will handle 1 or multiple characters.

5 Likes