Tabbing in ASP.NET form

T

Tom

A dumb question: Exactly how does tabbing work in an ASP.NET form in the
browser? Does it work the same was as a Windows Forms form does?

I have a rather complicated ASP form (that consists of HTML tables, ASP text
boxes, drop downs, data grids, etc)... and no matter how I set the TAB
indexes, it never seems to work the way I want it to - sometimes tabbing all
over the place!

What am I doing wrong? Thanks for any input...

Tom
 
K

Karl Seguin

You set the tabindex property which gets rendered as a tabindex attribute of
the html element.

<asp:textbox tabindex=3 ...>
becomes
<input type="Textbox" tabindex=3 ... >

You probably already knew this, but there's nothing else really to know...

you might wanna check out:
http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex

also keep in mind that other elements in the browser (like the brower
buttons themeselves) are going to participate in the tabbing experience
which is different that in winforms..

KArl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top