Handling HTML events in .NETCF
- From: trevorelbourne@xxxxxxxxx
- Date: 1 Aug 2005 23:31:52 -0700
Hi Everyone,
I am writing a .NET app for a Pocket PC 2003 device, and I am using a
webBrowser control for part of my UI. I am using the DocumentText field
of the browser to define the HTML to be displayed. All of this works
fine.
What I would like to do is when a user hits a link on the HTML page
I've constructed (via a <a href="whatever"></a> tag) I'd like my app to
perform some action - like build another HTML page to display, for
example. And the actions performed to be different, depending on which
link in the page is hit.
In the msdn docs I notice that the webBrowser component is supposed to
have an "ObjectForScripting" field, but this field isn't present in the
webBrowser control I am using (MS Visual Studio 2005).
How can I get interractions between HTML and my app working for a .NET
compact framework app?
I've tried using the "Navigating" event, but within the event handler
there is no way I can see to determine which link on the page was hit
to cause the event.
Any help very greatfully received.
Thanks,
Trevor.
.
- Prev by Date: Re: Paranthesis in C#
- Next by Date: Re: changing code page
- Previous by thread: Accessing ViewState
- Next by thread: john sharp c#
- Index(es):
Relevant Pages
|