The .net 2.0 Compact Framework WebBrowser Control

Standard

The .netcf 2.0 provides a web browser control.  This inspired me to try and create my own Web Browser based on .net technology.

The “WebBrowser” control has some serious limitations.  These include:

No “Title” property
Back/Next not supported (on 2003 only?)
Can’t access the “Document” object
Can’t change the context menu
Inability to set options such as formatting, cleartype, textsize etc (ie Anything useful)
Inability to access/invoke the favorites infrastructure
If you think about it, these are fairly major.

I overcame most of these problems in a few ways in Webby.

If you’re interested, feel free to ask questions by leaving comments on this post. 

Advertisements

9 responses »

  1. hi, I got the problem of “access the “Document” object” of webBrowser control. Could you tell me how to solve it?

  2. Hello, I’m currently developping a software for Windows CE 5.0 with the .Net Compact Framework 2.0sp2 in C# that makes usage of the WebBrowser component, and I must interact with the web page loaded (fill text in a textbox on that page and submit the form. And I have the “Can’t access the “Document” object” problem. Any help would be greatly appreciated as directions how to solve this.

    Thank you
    Nicolas

  3. Hi Julian,

    You seem to have cracked some things that could be very valuable for the rest of us. Some of my questions (related to Smart Device .NET WebBrowser control) are:
    1. Accessing the document innerHTML
    2. Interact with the document loaded within the webbrowser control… like getElementById
    3. Capture HTML form events from the container application

    Impatiently waiting for a reply.

    • Hi “John”,

      I was unable to do this directly, desipite repeated attempts.
      To get the html for my “Webby” web browser I did a http call directly and bypassed the control entirely.

      Regards

      Julian

  4. Hi, can we have a code example on how we can use web controls?

    i want to be able to set text, press buttons, etc. getElementById.

    have you managed that?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s