TabIndex and AutoPostBack

N

Nathan Sokalski

I have a long form that includes several fields which require
AutoPostBack=True. I want the user to be able to tab through the fields in
sequence (I set the the TabIndex property for all the fields), but whenever
after one of the AutoPostBacks occurs some seemingly random field has the
focus. This is obviously very confusing and frustrating for the user filling
out the form, and could end up causing them to enter data into the wrong
field if they don't realize that the cursor is no longer in the same field.
Is there some way I can avoid this? Thanks.
 
G

Guest

You have to enable the SmartNavigation property of page class. Smart
navigation is best used with ASP.NET pages that require frequent postbacks
but with visual content that does not change dramatically on return.
 

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,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top