Yep. Just like in an HTML page, they are not rendered as spaces.
I have a temporary workaround -- instead of spaces, I am using dashes.
Thanks,
--
Jon Sagara
"Shiva" <sh******@online.excite.com> wrote in message
news:Oh**************@TK2MSFTNGP12.phx.gbl...
Did you try adding the space chars directly without ?
Eg: DropdownList.Items.Add (" ");
"Jon Sagara" <jo*******@yahoo.com> wrote in message
news:#m**************@TK2MSFTNGP15.phx.gbl...
I'm trying to insert space characters into some ListItems in a
DropDownList. However, ASP.NET is converting my " " into "&nbsp;". Anyone know
how to insert literal spaces when populating a DDL programmatically?
--
Jon Sagara