"Will Lastname" <wh****@brinkster.net> wrote in
news:11**********************@o13g2000cwo.googlegr oups.com:
I'm creating an application that allows a user to enter multiple items
that correspond to a single collection. The idea is that they enter the
product in the textbox, hit submit, repeat....
Currently they have to manually move the cursor back to the textbox to
continue inputting data. Since hitting the enter button will trigger an
event handler I was curious as to how to go about defaulting the cursor
position to being in the textbox at postback. Any suggestions?
How about asking the user to use Tab?
You should be able to tab through the fields on a Web Form.
Otherwise see if you can write some custom javascript to catch the enter
button...
Here is more info:
http://www.allasp.net/enterkey.aspx
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
Newmarket Volvo Sucks!
http://newmarketvolvo.tripod.com