Click here to Skip to main content
15,995,397 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one!

I'm developing a Windows Mobile Application using VS 2008 and .NET Compact Framework.

On a form I'm using a WebBrowser control. On load of the page I'm dynamically constructing HTML and displaying it as below.
WebBrowser1.DocumentText = "Some HTML text"

I have an anchor element in the HTML code, and on clicking that anchor element I need to call a method written in that form.

But I'm unable to call the methods from webbrowser control written in that form.
I tried ObjectForScripting and window.external.fnTest but it looks it doesn't work in compact framework.
Could someone please provide me a solution to this problem.

Its very urgent for me . Please help me out.
Posted
Updated 6-Jul-11 0:51am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900