Completed
Last Updated: 22 Oct 2020 15:29 by ADMIN
Release R3 2020 SP1
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