I have a website with 2 forms. One for search and another for the login. When I use the enter key to submit, the search is always called because it is the first form on the page.
What I want to do is program the enter key to click a certain button when a certain textbox has focus.
I'm using asp:textbox and asp:button for my login form.