Link to home
Start Free TrialLog in
Avatar of MandyProg
MandyProgFlag for South Africa

asked on

Tab order, Tab Key

Greetings

Tab order on the page only works correctly when I use the Enter key. But users prefer using the tab key. When using the tab key after first control loses focus, focus goes to the address bar, then back to the next  control on the page. Why does it go to the adress bar?

Some controls also do checks on the database side, then populating other fields on the screen. Is it possible without pressing the enter key? Can that be done with tab key?

Please assist

Regards
MandyProg
Avatar of nmarun
nmarun
Flag of India image

This document might help you:

http://www.beansoftware.com/ASP.NET-Tutorials/Access-Tab-Key.aspx

and this one says why your Enter key acts like tab key:

http://bytes.com/topic/net/answers/48819-make-enter-key-act-like-tab

Arun
ASKER CERTIFIED SOLUTION
Avatar of MandyProg
MandyProg
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was answering the first part of your question and you might be able to do a postback by creating a browser plug-in, but this will just break the perception of a web page.

I'm objecting because I need to know why the links are obsolete.

Arun
I just recalled there might be some other way in which you can use key strokes to make things work for you.

Microsoft AJAX provides a feature called 'auto-complete'. In this, based on the user input to say, a text field, you can have a web service run in the background and get appropriate values.

I was thinking you could use this to do the db check depending on what the user types in. Here's a sample of the Auto-complete feature:

http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-autocomplete-control

Arun
Avatar of MandyProg

ASKER

Hi

I don't use web services and the AJAX controls. I will keep it for future use.

Thanks
You don't seem to have a good reason to call the links that I posted as 'obsolete'. Well anyways, please choose YOUR OWN post as the solution to this thread and mark it for PAQ.

Arun