Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set value of entity NBSP into a string?
Message
From
13/11/2006 10:53:23
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01169162
Message ID:
01169177
Views:
11
Dimitry all depends on where you are using that, i.e. if you use that on a textbox.text then you will see the value and not the space, while if you use it on a dropdownlist item you will see the space and not the string, so as you can see all depends where you are using it.

>I need to figure out how to set a value of the HTML entity NBSP ( Ampersand + NBSP + Semicolon) into a string so that the browser will interpret it as an HTML special character and not a literal character.
>
>For example, if I do
>
>
>string mystreen = "&"+ "nbsp" + ";" ;
>
>
>The browser will show this string literally. But this is NOT what I want.
>
>Thank you for any suggestions.
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform