Completed
Last Updated: 09 May 2016 06:36 by ADMIN
ADMIN
Dimitar
Created on: 30 Sep 2013 06:41
Category: Editors
Type: Bug Report
1
FIX. RadMaskedEditBox - when the ReadOnly property is set to true, pasting is still possible.
To reproduce:
- Add RadMaskedEditBox to a form and set its ReadOnly property to true.
- Paste a valid value using the Ctrl+V key combination.

Workaround:
- Disable the corresponding key combination in the KeyDown event:

void radMaskedEditBox1_KeyDown(object sender, KeyEventArgs e)
{
    if (e.Control && e.KeyCode == Keys.V)
    {
        e.SuppressKeyPress = true;
    }
}
0 comments