ASP.Net form requires Two textboxes to get enter key to invoke button click

  • Thread starter Thread starter Greg H
  • Start date Start date
G

Greg H

I am really missing something. I want the enter key to invoke a button click
on a form
after entering text in a textbox.

But if I only have one textbox the click event will not fire, but If I put
two textboxes
on the form the click event will fire

I have a colleague look at this, and he can't see it either
 
I recall having the same issue, but with one or two BUTTON
controls...

I think our solution was to place a hidden control to make
it work.
-----Original Message-----
I am really missing something. I want the enter key to invoke a button click
on a form
after entering text in a textbox.

But if I only have one textbox the click event will not
fire, but If I put
 
Back
Top