Home All Groups Group Topic Archive Search About

How to render HTML in a textbox?

Author
22 Nov 2006 6:50 PM
AAOM Tim
I would like to take some HTML content and render it in a textbox with the
HTML formatting applied to the text, but when I assign text with tags they
are HTML-encoded.  How can I display it as formatting text insetad of showing
the HTML tags?

Author
23 Nov 2006 9:07 AM
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
The standard HTML textbox cannot display formatted HTML.
An alternative would be to use something that looks a lot like a textbox but
has enhanced functionality.
Here are some free options:
http://SteveOrr.net/freecontrols/textboxes.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net


Show quoteHide quote
"AAOM Tim" <AAOM T**@discussions.microsoft.com> wrote in message
news:EC92A10F-19DF-4A3A-BC8A-A5CB041D0448@microsoft.com...
>I would like to take some HTML content and render it in a textbox with the
> HTML formatting applied to the text, but when I assign text with tags they
> are HTML-encoded.  How can I display it as formatting text insetad of
> showing
> the HTML tags?