button click event when keyboard's enter key is pressed

G

Guest

Hello All,

How can I force the control to go to click event handler if a keyboard's
enter key is pressed instead of the user clicking the button. I remember that
we need to create a hidden textbox or something of that sort but could you
please guide me in this process?

Thanks,...
 
S

Shiva

Hi,

Check this one: http://www.allasp.net/enterkey.aspx

Hello All,

How can I force the control to go to click event handler if a keyboard's
enter key is pressed instead of the user clicking the button. I remember
that
we need to create a hidden textbox or something of that sort but could you
please guide me in this process?

Thanks,...
 

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,995
Messages
2,570,236
Members
46,823
Latest member
Nadia88

Latest Threads

Top