When focus is on a check box column in a grid, the grids keypressed event does not appear to be fired. Since we want to move to the next cell with arrow key movement, this is a problem for us. Any ideas?
Did you try KeyUp or KeyDown? If I recall correctly, KeyPress is not supposed to fire for the arrow keys or other navigational keys.
LaneCountyAIRS said:Not sure if this is the same issue, but I can't get the UltraCombo KeyDown event to fire when the control is embedded in a WinGrid (as the EditorControl to a column). I can capture the KeyDown of the parent grid, examine the "grid.ActiveCell.EditorControlResolved.Name" value and call the desired method from there. The UltraCombo is subclassed and it seems that all keyboard event handlers should be left to the control. Thanks.
Not sure if this is the same issue, but I can't get the UltraCombo KeyDown event to fire when the control is embedded in a WinGrid (as the EditorControl to a column). I can capture the KeyDown of the parent grid, examine the "grid.ActiveCell.EditorControlResolved.Name" value and call the desired method from there. The UltraCombo is subclassed and it seems that all keyboard event handlers should be left to the control. Thanks.
No, that's not the same issue. When you use an UltraCombo or any other EditorControl in the grid, the grid does not use the actual control. The control merely provides a copy of it's internal editor for use by the grid. So the events on the editor control are not supposed to fire in response to grid actions. The grid has it's own events for this.
rhachtel said:I misspoke. I am using the grid's keydown event. When focus is in a checkbox cell, the arrow keys do not fire that event, but do when in other cells.
Hm. It sounds like the CheckBox is eating the arrow key for some reason, then. I'm not sure why that would be. Perhaps you should submit the issue to Infragistics Developer Support so they can check it out. Get Help