Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Non-breaking Spaces Added to Markup

Thread Tools

Non-breaking Spaces Added to Markup

Posts: n/a
(NOTE: In the first attempt to post this issue the non-breaking space
characters were replaced with spaces)

We are experiencing a serious problem with custom server controls in the web
designer of VS2008. When we perform an action within the designer that causes
the markup to be updated, there are many non-breaking space characters and
spaces inserted in between the tags of the server control. For example:

<cc1:TextField ID="TextField1"> " " </TextField>

As we continue to work within the designer (such as switching tabs), the
non-breaking spaces quickly multiply until there are hundreds and then
thousands of them. If we insert some text between the tags, the text is also
duplicated. I have seen posts on other forums about this problem but no
solution. Are others experiencing this problem and, if so, is there a
workaround or solution?

Neil Aitken
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[CSS] how can I show spaces as spaces? Tomasz Chmielewski HTML 21 09-10-2009 06:43 PM
how can I show spaces as spaces, part 2 Tomasz Chmielewski HTML 14 09-10-2009 03:54 PM
Re: How to trim a String trailing spaces, but not leading spaces? Roedy Green Java 3 09-14-2008 02:10 AM
Re: How to trim a String trailing spaces, but not leading spaces? John B. Matthews Java 4 09-12-2008 05:28 AM
Many &nbsp; characters added to markup Neil8Ken ASP .Net Building Controls 1 04-23-2008 10:38 PM