Reputation: 32667
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?
Upvotes: 5
Views: 2761
Reputation: 668
Might want to take a look at Awesomium. I've had success with it in .net apps.
Upvotes: 0
Reputation: 56113
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).
Upvotes: 7
Reputation: 340311
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.
Upvotes: 0
Reputation: 2533
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.
Upvotes: 1
Reputation: 56853
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?
Upvotes: 0