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 7793557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:31:35+00:00 2026-06-01T22:31:35+00:00

I have created a select list with some option values inside an asp.net tablecell.

  • 0

I have created a select list with some option values inside an asp.net tablecell. For some reason VS10 keeps placing more and more non breaking spaces into the code before the option values. I have to keep deleting them because it eventually fills the page with them. Here is my original code:

        <asp:TableCell>
            <select id="selectBankID" onchange="changeFormatLabel(this.options[this.selectedIndex].value,'txtBankIDFormat')">
                <option value=""></option>
                <option value="SWIFT (W/Branch)">SWIFT (W/Branch)</option>
                <option value="SWIFT (W/O Branch)">SWIFT (W/O Branch)</option>
                <option value="BSB">BSB</option>
                <option value="BIC">BIC</option>
                <option value="TRNO">TRNO</option>
                <option value="BLZ">BLZ</option>
                <option value="UKSORT">UKSORT</option>
            </select>
        </asp:TableCell>

On its own, without my saving or anything, a bunch of nbsp characters appear out of nowhere and just keep multiplying as I keep working on other parts of the page:

        <asp:TableCell>
            <select id="selectIntermedBankID" onchange="changeFormatLabel(this.options[this.selectedIndex].value,'txtIntermedBankIDFormat')">

                   

                    SWIFT (W/Branch)

                    SWIFT (W/O Branch)

                    BSB

                    BIC

                    TRNO

                    BLZ

                    UKSORT

               

Of course, they don’t display nicely in the code window on this site, but they are there. What the #@$!* is going on? Visual Studio hatred for non asp tags?

  • 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-06-01T22:31:38+00:00Added an answer on June 1, 2026 at 10:31 pm

    As stated above, just used a dropdownlist instead of standard HTML selectlist.

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

Sidebar

Related Questions

I have a select list I've created in a form alter, however, when I
I have created a procedure and used the below statement inside that . select
I have some html that creates a dropdown list. The list has text values
I have a select option list and im using jQuery Mobile. My list is
I am using JQuery and cakephp for my application. I have created a select
I have created a process using proc-open but under windows the stream-select does not
I have created a PHP form which requires the user to select a postcode
I have created a PHP code to echo the following div <div id=main_catsel> <select
I have 3 select boxes and all are having same value (clones) & created
I have got 2 drop down list in my php form. Values in the

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.