Andreia Gaita escribió:
On 4/1/08, Josh <[EMAIL PROTECTED]> wrote:
I understand that System.Windows.Forms.WebBrowser isn't fully implemented
yet, but does anyone know of a workaround that can use to get the
DocumentText from the control? It appears that mono will currently (1.9)
navigate to the URI that I need but I can't get the DocumentText property
that I need... any ideas?
Hey there, sorry for the delay, almost missed your query.
At the moment there is no support for DocumentText, that is being
implemented currently. You can try to get InnerHTML from the body
element, that will at least give you the content of the body (but not
the head). Updates to support outerHtml and documentText will land
soon on svn.
andreia gaita
Hey, you can use the system.net namespace.
Create a webclient instance, and use its DownloadString Method
This gets all the source code from a a web page and saves it into a
string.
I used it for your same problem, and works!!
Iñigo R.
|
_______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list