[Mono-winforms-list] Writing data into a webbrowser problem
euan_macinnes at hotmail.com
Thu Apr 15 11:58:29 EDT 2010
but you'll also need to put the full HTML:
string value = "this is a test";
myBrowser.DocumentText = "<html><body>" + value + "</body></html>";
Then you can amend the CSS etc.. as well.
use myBrowser.BodyHtml to retrieve the inner html if you have it in edit mode.
> Date: Thu, 15 Apr 2010 07:49:35 -0800
> From: velocedge at hotmail.com
> To: mono-winforms-list at lists.ximian.com
> Subject: [Mono-winforms-list] Writing data into a webbrowser problem
> I'm trying to write data into a webbrowser and can't seem to get it to work.
> I'm using:
> myBrowser.Document.Body.InnerHtml = "this is a test";
> Nothing is showing up. The original url that I used was "about:blank" to
> set a blank browser screen.
> Does anyone know how to create data inside the browser window?
> View this message in context: http://n4.nabble.com/Writing-data-into-a-webbrowser-problem-tp1901064p1901064.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-winforms-list