enter key in textbox

  • Thread starter Thread starter raju
  • Start date Start date
R

raju

Hai,

I am new to asp.net, i have 5 to 10 text box in a form, after
entering values in the textbox, if i press Pressing ENTER on a Form
Page Submits the Form. How to pass the cursor to next textbox by
pressing enter key.


Thanks

Regards
Raj.
 
Hai,

I am new to asp.net, i have 5 to 10 text box in a form, after
entering values in the textbox, if i press Pressing ENTER on a Form
Page Submits the Form. How to pass the cursor to next textbox by
pressing enter key.


Thanks

Regards
Raj.

You realize that you're supposed to use tab to move between controls?
 
Demetri said:
You'll need to do some JavaScript - a quick google search turned this up, it
might help.

http://javascript.internet.com/forms/enter-key-focus.html


Hai,

I gothrough that link given by you.

but in that example they used html controls i think, But in my
application i am using server controls. In that, textbox control, there
is no "onkeydown" event.

What can i do! pl. clear my doubt.

thanks in advance.

Regards,
Raj.
 

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