Associate Enter Key with a button in asp.net

  • Thread starter Thread starter Eranga
  • Start date Start date
E

Eranga

Could some one please tell me how to make an asp.net betton work for
enter key, so that the user do not have to click on the button every
time he needs to hit the button.
Thanks in advance.
 
Hi,

You can intercept the enter at the page level, then when you handle that
event just call button.Click, I don't remember the correct piece of code but
I' m sure if you look into google groups u will find the answer there


cheers,
 

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

Back
Top