Welcome Guest Search | Active Topics | Sign In | Register

Capture click of anchor tag from EO browser Options
Akansha
Posted: Saturday, March 21, 2020 5:45:52 AM
Rank: Newbie
Groups: Member

Joined: 3/21/2020
Posts: 9
Hello Team,

We have license of EO Web browser 2017 version. We have to use it in WPF application. On the click of a button we are opening a page in Web Browser (the content of which is coded in html). Now this html content has anchor tags which should work on click of hyperlinks on page.
We are able to see the page in browser but we are not able to capture click of anchor tags. We have call a C# function on click of anchor tags, since we are not able to capture the click of anchor tag we are not able to call the C# function.
Kindly let us know solution for the problem

Thanks
eo_support
Posted: Monday, March 23, 2020 8:09:17 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

I am not exactly sure what you meant by capture the click. You will not be able to respond anchor click event directly in C#. However you can always handle the anchor's click event with JavaScript, and then use JavaScript extension to call into C# code. See here for more details:

https://www.essentialobjects.com/doc/webbrowser/advanced/jsext.aspx

Please keep in mind that we provide free tech support for one year only after the purchase. So if you only have a license for the 2017 version and have never renewed your maintenance, then in fact you are not eligible to receive tech support. If you still have any questions, please PM us your order number so that we can check if you have a newer license or have renewed your maintenance.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.