I have written the following codes:
----------------------
private void gridTest_BeforePerformAction(object sender, Infragistics.Win.UltraWinGrid.BeforeUltraGridPerformActionEventArgs e) {
........................
}
private void gridTest_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Left) { this.gridTest.PerformAction(UltraGridAction.PrevCellByTab); e.Handled = true; } }
-------------------------
When I press the left arrow key, it doesn't enter the gridTest_BeforePerformAction method.
If anyone knows why, please tell me.
Thanks in advance.
This is something of a gray area in event firing. If the user performs some action then you need an event to fire to tell you that they did so. If you perform an action in code, then you really don't need an event, because you already know you did it. So it looks like the event doesn't fire when you call PerformAction in code.