Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6135129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:26:29+00:00 2026-05-23T17:26:29+00:00

I have a weird issue that I am being asked to fix but alas

  • 0

I have a weird issue that I am being asked to fix but alas I have thus far drawn a blank. As the title suggests I am trying to get the tab order for two text boxes to follow one after the other.

The idea is (and this is inherited code rather than that of my own design) that a routine is call that builds atable cell inserting two text boxes and one link. This is then returned and foreach line in the table a new copy of this cell is generated.

I have tried setting the TabIndex for the text boxes and find that when I tab I only get as far as the first box (txtPound) and never the second (txtPence).

I can’t decide if the issue is due to trying to do this in a TableCell or whether its something else completely.

Hopefully that’s clear but should you require any further info then I will try to supply it.

I have included a striped down version of the code below, essentially this gets added to a table row in a the aspx pace.

Any help would be greatly appreciated.

 private TableCell EstimateInputs(Brief item)
        {
    TableCell td = new TableCell();        

                TextBox txtPounds = new TextBox();

                string[] agencyCosts;                  
                txtPounds.TabIndex = 1;
                td.Controls.Add(txtPounds);

                //td.Controls.Add(new LiteralControl("<span>.</span>"));

                TextBox txtPence = new TextBox();
                                txtPence.MaxLength = 2;


                txtPence.TabIndex = 2;
                td.Controls.Add(txtPence);

                td.Controls.Add(new LiteralControl("</p></fieldset>"));
        }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:26:30+00:00Added an answer on May 23, 2026 at 5:26 pm

    So it ended up being a complete red herring. turns out that there was a little JavaScript function that is applied to text boxes that deal with monetary values. it stops anything other than a numerical key press which means it includes the tab key.

    So the mystery is solved – thanks for the help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a weird issue. I have some icons that are being built based
I'm having a weird issue that I can't track down... For context, I have
I have a weird issue. I receive the following error that causes a force-close:
I have a weird issue that is probably simple here is the code js
I have a weird issue where I have a stored procedure that is inserting
I have two weird workflows that I'm able to fix.. I fixed them by
I have a weird issue with creating an Bitmap in C++. I'm using the
I have a weird issue when connecting to Oracle with Groovy. I have created
I have a weird issue. Here is the setup: I have a NSOperationQueue which
I have a weird issue with printing data out. I use printf to print

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.