The following describes the effect of pressing the Enter key.
- If the Enter event exists but is not associated to any web control in the form, the effect of pressing the Enter key is that the Enter Event will be executed.
- If the Enter event exists and is associated to a control in the form, the effect of pressing the Enter key when the focus is on a control with no event associated to it, or the focus isn't on any control, is that the Enter Event is executed.
- If the Enter event exists and is associated to a control in the form, the effect of pressing the Enter key when the focus is on a control with another event associated to it ('x' Event), is that the X Event is executed.
If you have a grid and filters associated to conditions in the grid, the effect of pressing the Enter key immediately after entering any filter is explained in the following document:
Enter Key behavior when entering grid filters.