Completed
Last Updated: 12 Apr 2016 12:05 by ADMIN
ADMIN
Dimitar
Created on: 24 Mar 2016 14:35
Category: Editors
Type: Bug Report
1
FIX. RadMaskedEditBox - the text is not correctly validated when the Mask is set after the MaskType and regex mask is used.
To reproduce:
- Set the mask like this:
private void RadForm1_Load(object sender, EventArgs e)
{
    radMaskedEditBox1.MaskType = MaskType.Regex;
    radMaskedEditBox1.Mask = "^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$";
}
- Start the application, enter five digits and pres Tab.
- The error icon apperas.

Workaround:
- Set the Mask before the MaskType:
radMaskedEditBox1.Mask = "^[0-9]{6} [A-Z]{4} [0-9]{7}$|^[0-9]{5}$";
radMaskedEditBox1.MaskType = MaskType.Regex;
0 comments