This question is locked. New answers and comments are not allowed.
Hello, I have following xaml in my project
<telerik:RadMaskedTextInput Margin="15" Mask=">a13" EmptyContent="Enter rfc" Value="{Binding Path=TestString,Mode=TwoWay, ValidatesOnNotifyDataErrors=True, ValidatesOnExceptions=true, NotifyOnValidationError=True}"/> and following property in viewmodel
private string _testString = ""; [RegularExpression(@"^([A-Z]{4})\d{6}([A-Z\w]{3})$")] public string TestString { get { return _testString; } set { _testString = value; RaisePopertyChanged("TestString"); } } What i am trying to do is enforce uppercase(">") with length of 13 Issue is, when started typing in above box ,text was all lower case until i entered a valid text("TTTT000000TTT") then it changes to upper caseIf i take out "[RegularExpression(@"^([A-Z]{4})\d{6}([A-Z\w]{3})$")]" , above from my property, and start typing
it is all uppercase like i want, But i do want to use my reg ex
Am i missing something here ?
-Karthik