What you are trying to achieve cannot be done with RadMaskedTextBox
, because you have to enter all 13 digits before enter the 2 digits after the separator. You can use RadNumericTextBox
and set MaxLength
property to 16 and NumberFormat-DecimalDigits
property to 2. Note that in this case the decimal separator is count as part of the length. The best way would probably be to use a RegularExpressionValidator
. I have prepared and attached to this message a sample where you can see the differences between the three controls.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed