I have a C# website where some of the pages contain various inputs and
buttons. For example, a FAQ page would have an input for the question
and a button to submit the question... However, if the user is not
currently logged in then the left column of that same page would have a
username input, password input, and a login button.
Now, in the above example, when a user enters a question into the FAQ
input and presses Return, the login button gets fired (it exists earlier
on the page than the submit button for the FAQ). Is there a way to
specify which button gets fired when a user presses return on a given
control? I assume it would have to be client-side, but what solutions
have others found for this? Can anyone give a code example?
Regards,
David P. Donahue
dd******@ccs.ne u.edu