TabIndex and AutoPostBack

Discussion in 'ASP .Net Building Controls' started by Nathan Sokalski, Aug 29, 2005.

  1. 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.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Aug 29, 2005
    #1
    1. Advertising

  2. Nathan Sokalski

    softsara 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.
    --
    Saravanan M


    "Nathan Sokalski" wrote:

    > 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.
    > --
    > Nathan Sokalski
    >
    > http://www.nathansokalski.com/
    >
    >
    >
     
    softsara, Sep 2, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nathan Sokalski

    TabIndex and AutoPostBack

    Nathan Sokalski, Aug 29, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    580
    =?Utf-8?B?c29mdHNhcmE=?=
    Sep 2, 2005
  2. niv

    webcontrols and tabindex

    niv, Oct 18, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    128
  3. Nathan Sokalski

    TabIndex and AutoPostBack

    Nathan Sokalski, Aug 29, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    159
    softsara
    Sep 2, 2005
  4. Michael Topor-Grabowski

    sitemap and tabindex

    Michael Topor-Grabowski, Oct 5, 2009, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    713
    Michael Topor-Grabowski
    Oct 5, 2009
  5. jerrygarciuh
    Replies:
    6
    Views:
    129
    Matt Kruse
    Jul 12, 2005
Loading...

Share This Page