4

I have a .net (3.5) WinForms application and want to display some html on one of the forms. Is there a control that I can use for this?

1
  • Do you need to display it as rendered or just as text? Commented Sep 18, 2008 at 22:21

3 Answers 3

8

Yep sure is, the WebBrowser control.

Sign up to request clarification or add additional context in comments.

Comments

3

I was looking at the WebBrowser control but couldn't work out how to assign (set) the HTML to it...?

EDIT: Found it - Document Text

1 Comment

webBrowser.DocumentText = htmlString
1

what about the browser control? a bit heavy, but at least you'll get an accurate rendering.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.