473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Massive Data Input

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?

Nov 19 '05 #1
4 1237
"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
Nov 19 '05 #2
I had simular issues with data entry personal in my aspx aps.
Depending on how much data has to be entered you can re-arrange key
events:

Here is a script thaqt allows them to use there enter key....
<form id="Form1" onkeydown="if(event.keyCode==13)event.keyCode=9"
method="post" runat="server">

Nov 19 '05 #3
Hitting the Enter key already works. I am wanting to know how to
default the cursor into the textbox of my choosing.

Nov 19 '05 #4
Thanks for the replies! I've got a few interesting bookmarks for later
reference because of it.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: nasht | last post by:
Hi, I'm trying to make a newsletter application in php (using mail() ). This application is supposed to look in a MySQL database and generate a list of emails and first names. Then it should...
4
by: Lorn | last post by:
i have a very large data stream, on the order of 1.5 million records an hour (32 bytes per/record), which i would like to try and record to disk. it doesn't need to be iserted into a db, so flat...
15
by: rlayberry | last post by:
Hi I have found what looks like a huge bug in MSAccess. When I have the following in a table in Access 1996 0.08715292
1
by: Sharon | last post by:
I need to transmit a massive amount of data that contain video frames taken from a Frame Grabber to remote computer over a GLAN (Giga Byte LAN). Any suggestion how should I do that? What .NET...
1
by: James | last post by:
After uppgrading from .NET v1.1 to .NET v2.0 we ca see massive usage of disc space(10 GB) in a subfolder in the following folder: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET...
5
by: Gene | last post by:
What can I do if I want to get the result using the sql command? for example, the select command is "select Name from Employee where StaffID=10" How to get the "Name"??? dim Name as string and...
7
by: Ming | last post by:
For example, 100,000 records, each record has 10 fields and may belong to one or more categories. How shall I save those records in DB? I think it is a very typical concern for most online shopping...
5
by: DrKen | last post by:
I asked last week about passing a popup selection back to the main window. Now comes another challenge. The drop down list (or other organization?) has over 36000 entries (it's a list of colleges...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.