Is it possible to force the enter key behavior of any textbox on a page to simply tab to the next field.

Is there a way to move focus to the next control (using tab order) when the enter key is pressed on a text box field on a web form.

Currently, everytime a user presses the enter key after entering text into a text box the page fires off a button click code from the masterpage.

I have tried working with the defaultbutton  attribute on the panel but how can this be configured to tab to the next field.

in vb please
JOHNFROGAsked:
Who is Participating?
 
JOHNFROGAuthor Commented:
managed to work it out partiallyhelped by this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.