Question

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?

Was it helpful?

Solution

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).

OTHER TIPS

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.

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?

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.

Might want to take a look at Awesomium. I've had success with it in .net apps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top