No easy way to place HTML directly into an embedded browser control. The most current code here on this site, however, wrote an HTML rendering control, which I'm guessing works a whole lot easier. Might be worth a look!
Using the browser, you can fake it out if you control the pages to be displayed. You can use a DIV (or SPAN, I forget which) and can assign text into that. But as for the whole page, no, there's no way I know of to assign text directly into the control. I usually end up saving the content to a temp file and loading it from there. No elegant. If only you could load the browser control with data from a stream. That would be cool. |