RadMaskedTextBox has been made obsolete and we have to use RadMaskTextInput. RadMaskedTextBox had a MaxLength Property, but I'm not able to find this for the new control. How do you set the MaxLength of the text allowed in the control?
2 Answers, 1 is accepted
answered on 20 Mar 2014, 08:09 AM
I guess you use RadMaskedTextInput. By default its Mask is "a20" which limits you to type 20 symbols maximum. However, if you use no-mask (Mask="") you can take advantage of MaskedInputExtension properties. You can use MaskedInputExtensions.MaxTextLength property to achieve your goal.
Please let us know if this helps you move forward.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges.Watch on demand now.