Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Please Help

Thread Tools

Please Help

Posts: n/a
I have problem setting the focus on the required
textbox on a mobile page. I want to do the following thing:
I have two textBoxes. I call submit on TextChange event of
1st Textbox through AutoPostback=True/Javascript function.
Then reloads the same page with validated data in the 1st
textbox. Its ok till this point. Now i want to set the
focus on the 2nd Textbox so that the user can enter data
without scrolling(in case of multiple textboxes).
The problem i faced:
1. i cannot raise client-side script from page load event
in case of mobile page.
2. i cannot access asp session variables so that i can
decide which control to set focus on in javascript
So how do i determine from which control i had called
submit, in order to set the focus on the next control.
This has to be done in the page load event of mobile page
as each time the page gets loaded due to postback, cursor
should be placed on the next available textbox(field).
Any help is appreciated.
Thanx in advance.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please please please help this guy with his open source java app Java 4 05-05-2005 08:24 AM
Console profile for Windows app in VC++ - PLEASE PLEASE PLEASE HELP! MuZZy C++ 7 01-07-2005 08:40 PM
Computer problems please please please help Nick Computer Support 0 06-04-2004 08:49 PM
HELP! HELP! PLEASE, PLEASE, PLEASE tpg comcntr Computer Support 11 02-15-2004 06:22 PM
please help... learn C++ please please please :) KK C++ 2 10-14-2003 02:08 PM