How to control enter button on the client PC in ASP.Net

  • Thread starter Thread starter Simon Fainveits
  • Start date Start date
S

Simon Fainveits

Does anybody know how to control enter button on the web
form? It seems to if the user hits enter button at run
time then it fires submit button click event. I have also
noticed that if the page does not have a submit button
then the button that was first placed on the form at
design time is fired and I do not want that to happen. Is
there any way to control enter button behaviour?
Many thanks
Simon
 

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