Unplanned
Last Updated: 15 Jun 2020 10:24 by ADMIN
JorgeCea
Created on: 15 Jun 2020 10:16
Category: MaskedInput
Type: Bug Report
0
MaskedInput: Extra "_" characters are displayed to the masked when inputvalue is set and regex masktype is used

sample MaskedInput definition:

_Telephone = new RadMaskedInput
            { 
                Mask = "[(][0-9]{3}[)] [0-9]{3}-[0-9]{4}",
                MaskType = MaskType.Regex,
                WatermarkText = "Phone # (999) 999-9999",
                RejectedSymbolErrorText = "Only Numbers Allowed!",
                InvalidInputErrorText = "Invalid Input",
                WatermarkTextColor = Color.Black,
                ErrorColor = Color.Red,
                DisplayedTextColor = Color.Black,
            };

            _Telephone.InputValue = "2223334444";
            Grid.Children.Add(_Telephone, 0, 0);

and the result:

 

 

0 comments