Ask a Question related to ASP.NET General, Design and Development.
-
Howard, Brett #1
Ampersands being converted when in data that is bound to my ASP:Dropdown
I am binding data to the <ASP:Dropdown> object. My field that I am binding
to the DataTextField property has " " in the data out of the database.
The problem that I am having is that when the page is rendered to the
browser, the " " is changed to "&nbsp;". Is there a way to stop
the conversion of my data? What I am trying to accomplish is to have some
drop down items to be tabbed in. So, if you know how to tab items in a
dropdown, that can also solve my issue.
--
Brett Howard
[email]bjhoward1@JoiMail.com[/email]
Howard, Brett Guest
-
Using bound data in a query
Hello- I have a Flash form that displays the "bound" contents of a field called "serviceIDs" when the user clicks on a record in a CFGRID (called... -
#38771 [NEW]: string POST data are converted to int
From: satanas at tech-at dot be Operating system: Apache 10336100 PHP version: 4.4.4 PHP Bug Type: Unknown/Other Function... -
Templated Data-Bound Control Sample
I have been attempting to create a templated data-bound control, using the sample as a guide... -
Combo Box Bound Data Question
I have successfully set up variable data Combo Box via VBA with a Row Source Type of Table/Query which then uses a Row Source SQL command to... -
can't get data to show with bound columns
I'm trying to create a DataGrid filled with values from a DataSet and I want the user to be able to show and hide whichever columns they choose. I... -
Prasad #2
Re: Ampersands being converted when in data that is bound to my ASP:Dropdown
Hi
Assume the DropDownList ID is MenuList. The following code will add Space to
the ListItem :
MenuList.Items.Add(new
ListItem(Server.HtmlDecode(" UserGroup" ),"UserGroup"));
HTH
Prasad
"Howard, Brett" <brett.howard@NOSPAMtroutmansanders.com> wrote in message
news:eMJOTC8RDHA.2248@TK2MSFTNGP11.phx.gbl...binding> I am binding data to the <ASP:Dropdown> object. My field that I amdatabase.> to the DataTextField property has " " in the data out of the> The problem that I am having is that when the page is rendered to the
> browser, the " " is changed to "&nbsp;". Is there a way to stop
> the conversion of my data? What I am trying to accomplish is to have some
> drop down items to be tabbed in. So, if you know how to tab items in a
> dropdown, that can also solve my issue.
>
>
> --
> Brett Howard
> [email]bjhoward1@JoiMail.com[/email]
>
>
Prasad Guest



Reply With Quote

