setting a submit button

  • Thread starter Thread starter Brian Burgess
  • Start date Start date
B

Brian Burgess

Hi all,

Any way I can set one particular 'asp:imagebutton' to be the submit button
(on Enter Key) for a form, when there are already a few 'asp:button's on the
form?

Thanks in advance...

-BB
 
You have to write client-JS to handle the body-level keypress event and
submit the form if ENTER is pressed.

Hi all,

Any way I can set one particular 'asp:imagebutton' to be the submit button
(on Enter Key) for a form, when there are already a few 'asp:button's on the
form?

Thanks in advance...

-BB
 

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