TextBox: ENTER accepting, Focus losing

T

teo

Hallo,

I'd like to write in a Textbox1,
press Enter on the keybord,
and fire the Click event of a Button
(unique Button control on the web form).

Now:
if a second Textbox2 is present on the web form
all is accomplished OK

but

if I delete the Textbox2 from the web form
all is NOT acomplished.

---------------

It seems to me that the Textbox1 control
doesn't want the Focus on itself
and if so it can fire the Click event of the Button on the web form
(unique Button control on the web form).
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top