I\'m developing a win-form application that needs sometime to show a \"pop-up\" form that displays a portion of a web page on internet (HTML). I\'m getting the HTML of the p
You can user web browser control.It can inject all html code directly.
webBrowser1.DocumentText = "<html>hello <script>alert('hi');</script></html>";
Try to use built-in WebBrowser control.
References at CodeProject:
For Managed HTML Rendering, see Professional HTML Renderer
For Dynamic HTML Rendering, see Show Dynamic HTML in WinForm Applications
webBrowser1.Document.Write(yourHtmlText);