I have a windows forms control that I want to use to display some basic
formatted text to the user. I have an arraylist of classes that I want to
display the text of each class in a table style report.
I figured the very simple way would be iterate the arraylist, dereference
each class, get the data form each one, build a string that contains the
HTML for how I want the report to look and then send the string to a control
to have it rendered.
I currently have built a custom user control that does this, but it is
really messy and I think way more that I need. One simple light weight
control that could render some basic HTML would do the trick and I would not
have to worry about resizes etc..
"Scott M." <s-***@nospam.nospam> wrote in message
news:ua**************@TK2MSFTNGP15.phx.gbl...
You mean that you just want to be able to render HTML without it being
parsed by the browser? If so, just wrap your output inside
Server.HTMLDecode(). For example:
Label1.Text = Server.HTMLDecode("<BODY>") will cause <BODY> to be
rendered (not parsed) by the client.
"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:eO**************@TK2MSFTNGP14.phx.gbl...I am looking for a control that displays simple HTML text (just basic
tags, not active content needed).
I know I can use the IE ActiveX control but really want to stay away from
the headaches if I can. There has to be some type of lite control out
there that can handle this. I am hacked off that the RTF control will not
read HTML. RTF tags are WAY too much work for what I need to do.
--
Raymond R Cassick
CEO / CSA
Enterprocity Inc.
www.enterprocity.com
3380 Sheridan Drive, #143
Amherst, NY 14227
V: 716-316-7537
Blog: http://spaces.msn.com/members/rcassick/