Completed
Last Updated: 02 Jun 2014 13:53 by ADMIN
ADMIN
Dimitar
Created on: 30 Sep 2013 06:45
Category: Editors
Type: Bug Report
3
FIX. RadDateTimePicker - when the ReadOnly property is set to true, pasting is still possible.
To reproduce:
- Add RadDateTimePicker 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 radDateTimePicker1_KeyDown(object sender, KeyEventArgs e)
{
    if (e.Control && e.KeyCode == Keys.V)
    {
        e.SuppressKeyPress = true;
    }
}
0 comments