2

I am aware of the ObjectForScripting property provided for the WebBrowser control, which is provided for WinForms application. I am using the WebBrowser control in a smart device application. I am not able to find this property.

IS it document somewhere that ObjectForScripting is not available for Windows CE?

Also, are there any alternatives?

Martin Buberl
  • 45,844
  • 25
  • 100
  • 144
Sumeet
  • 905
  • 1
  • 14
  • 32

1 Answers1

1

You can find the documentation here:

Next to each property you'll see a small PDA icon indicating if the method or property is supported by the .NET Compact Framework (.NET CF):

enter image description here

So, no. ObjectForScripting is not available for Windows CE.

Martin Buberl
  • 45,844
  • 25
  • 100
  • 144
  • Is there any alternate way to overcome the absence of such a valuable property. Or there is any place where I can find more about it. (Googling right now) – Sumeet Apr 13 '12 at 14:36
  • Not sure why this property isn't supported in .NET CF. An alternative to use Microsoft's WebBrowser class could be GeckoFX a .NET wrapper based on the same source code as Firefox (http://code.google.com/p/geckofx/). – Martin Buberl Apr 13 '12 at 15:44
  • Is it like using the open source available for GeckoFX, and writting Webbrowser control for .NET CF? – Sumeet Apr 16 '12 at 06:56
  • Yeah, that's somehow what I had on mind but I can't tell you if that would be the best approach. – Martin Buberl Apr 16 '12 at 14:01