Completed
Last Updated: 20 Oct 2015 08:47 by ADMIN
ADMIN
Dimitar
Created on: 19 Oct 2015 09:41
Category: Editors
Type: Bug Report
0
FIX. RadMaskedEditBox - when the mask is set to "N0" and one presses '.' exception occurs.
To reproduce:
- Set the mask like this:
radMaskedEditBox1.Mask = "N0";
radMaskedEditBox1.MaskType = MaskType.Numeric;

Set the value to "12345" move the caret to the first position and press '.'
Workaround:
void radMaskedEditBox1_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == '.')
    {
        e.Handled = true;
    }
}
0 comments