473,395 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

TabIndex and AutoPostBack

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
nj********@hotmail.com
http://www.nathansokalski.com/
Nov 19 '05 #1
1 2143
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
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: jerrygarciuh | last post by:
Hello, I have been playing with various Googled solutions for capturing the <Enter> key to suppress form submission. My first question is whether anyone has a script that works in all common...
8
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
2
by: kai | last post by:
Hi, All I try to setup Tebindex in ASP.NET page like in Windows form, using Tabview, but cannot fnd it. In the properties windows in ASP.NET, change Tabindex does not change the tab order. How...
1
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
0
by: Thomas Scheiderich | last post by:
I have a screen that just takes a phone book entry. In the Cell Phone question, it checks to see if the field has changed. If the field is no, it disables the textbox and greys out the label. If...
4
by: Wayne Wengert | last post by:
I cannot get the tab settings on an aspx page to work as desired. First of all, I don't see a way to indicate whether a control is a tab stop. There is a tabindex property for labels (why?). When I...
3
by: Alex Maghen | last post by:
Hi I have three questions about the Tab Order that's rendered by default on an ASPX page: 1. On a page that's all ordered HTML (instead of absolute positioning), shouldn't the default be that...
2
by: rn5a | last post by:
Assume that a user control has a TextBox (Page1.ascx) <asp:TextBox ID="txtName" runat="server"/> I am encapsulating the above user control in a ASPX page named Page1.aspx i.e. the ASPX page...
6
by: Peter | last post by:
ASP.NET 2.0 Visual Studio 2008 I have the following code and when the textbox displays and I press Enter while in the text box I get AutoPostBack, how do I stop AutoPostBack? TextBox txt =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.