views:

618

answers:

4

Trying to avoid the .net WebBrowser control (I don't need to navigate to a url, print rendered html or any of the other inbuilt goodies). Wrapping the IE dll seems a bit heavyweight.

I simply require something that can display basic html marked up text - an html equivalent of RichTextBox in effect. Anyone have any experiences / recommendations / war stories?

A: 

While it takes a bit of effort, you can disable almost all of the 'extra' functionality of the built in WebBrowser control.

If the built in web browser provides all the functionality you need why look elsewhere?

samjudson
+2  A: 

Lutz Roeder (of Reflector fame) has a WYSIWYG HTML editor in .NET on his site here: http://www.lutzroeder.com/dotnet/. Check out the download called "writer". I haven't used it myself, but it was the first thing that popped into my mind.

Garo Yeriazarian
Looking at the source for Lutz Roeder's Writer, I see that his control is a wrapper around IE (i.e. MSHTML).
ChrisW
A: 

J. Menendez Poo's fully managed HTML renderer isn't complete, but it's by far the best I've found.

I still have to try it in depth, but looks a lot more promising than the other alternative:

This assuming you don't actually need the editing capability's of Lutz Roeder's Writer.

Vinko Vrsalovic
I edited the URL of the HTML renderer (now hosted on Codeplex), but Bruce Shankle's Anole is 404 without a forwarding address.
ChrisW
Looking at the source for Lutz Roeder's Writer, I see that his control is a wrapper around IE (i.e. MSHTML).
ChrisW
A: 

I developed this HTML control for .NET, which does what you were asking: i.e. display basic html marked up text.

It doesn't use IE or any other unmanaged code (except for the .NET framework itself).

ChrisW