Click to See Complete Forum and Search --> : setting focus not working correctly on PDA


bjswift
May 29th, 2007, 11:24 AM
I have a web application which has 5 text boxes, and some javascript to force the user to fill in the text boxes in order. The first three validate against the server, thus have a property of autoPostBack to true and some code behind which send a select statement to see if their entry exists.

Then, if it exists, I have code to set the focus to the next text box. The code example is below:

txtBox.focus()

This code works great on a desktop running IE7, but does not set the focus on a hand scanner running windows CE and IE (unknown version of IE). I do not know how to get the version of IE on the hand held scanner, or the version of CE it is running.

I am also having problems when the user submits the completed form, it clears all the text boxes and allows the user to enter again, but when they enter the same number in the first field (an employee ID field) the system does not seem to know that it should post back since the method I used was _textChanged

Any ideas?

Thanks!