Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
873
Numpad key decimal '.' not working with UltraTextEditor
posted

Hello all,

we use the UltraTextEditor as the editor controls on string columns in our UltraGrid control. By using this control, we noticed that the Numpad key decimal is not working. If the key decimal on the main keyboard is used, the decimal is is added to the cell. 
I found out that when the UltraFormattedTextEditor is used as the editor control instead, the numpad key is working. So, the problem is related to the UltraTextEditor. During my analysis I recognized that when I push the numpad key decimal the UltraTextEditor KeyDown event is fired, but not the KeyPress event, which is fired by using every other key on the keyboard - for example, the decimal key on the main keyboard.

KeyDown event of the UltraTextEditor when the numpad key decimal is pressed:

How can I enable the UltraTextEditor to accept also the numpad key decimal '.'?

 This is how the UltraTextEditor is created:

new UltraTextEditor()
            {
                WordWrap = false,
            };

Thank you and best regards