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

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
 
D

David Waz...

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top