Hi, I have the following code on my page:
<aspropDownList ...>
<asp:ListItem Value=""> &nbps; Test</asp:ListItem>
</aspropDownList>
but &nbps; keeps getting replaced (i understand this is for security reasons). I read once how you could create your own control inherting from the DropDownList which changes the way the DropDownList renders the text property within the ListItem (so that no replaces are made) but i seemed to have misplaced it and would appreciate if someone could point me in the right direction.
Thanks
<aspropDownList ...>
<asp:ListItem Value=""> &nbps; Test</asp:ListItem>
</aspropDownList>
but &nbps; keeps getting replaced (i understand this is for security reasons). I read once how you could create your own control inherting from the DropDownList which changes the way the DropDownList renders the text property within the ListItem (so that no replaces are made) but i seemed to have misplaced it and would appreciate if someone could point me in the right direction.
Thanks