473,511 Members | 15,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web browser click event for links

This is a re-post of a message I posted in .languages.csharp a few weeks
back, I got no response there so I'm hoping someone here can help. If
there is a better NG than this one, please let me know.
Hi all,

I've been searching Google for information but I must be searching for
the wrong terms, because I can't find a thing.

I'm using the AxWebBrowser control and I'm writing my own content for it
on the fly (no actual external documents being loaded). Everything for
this works fine.

What I want to do though is intercept all click events when a user
clicks on a link. I want to be able to get the HREF value for the link
clicked, and then cancel the event so the browser control doesn't try to
do anything with it. I'll be using the HREF value for some processing,
and will manually update the browser contents as required.

Can anyone point me in the right direction please, I'm giving up with
Google for the time being.

TIA

Steve.
Jul 21 '05 #1
0 1087

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2077
by: Bond | last post by:
how do I know when the browser is making a request to the server? I am not having an onclick event for EVERY hyperlink, submit, etc. There must be some javascript function that I can overwrite...
68
11116
by: Steve | last post by:
Hi There, Prob a simple answer to this (I hope) but I can't quite work it out yet... I have this in a page: <map name="Map"> <area shape="rect" coords="43,68,52,77" href="map.html"...
0
1234
by: Stephen Brooker | last post by:
Hi all, I've been searching Google for information but I must be searching for the wrong terms, because I can't find a thing. I'm using the AxWebBrowser control and I'm writing my own content...
24
5206
by: ej1002 | last post by:
Hi I have developed a Windows Application(C# Windows Form) which will get the IFrame Source of the page it is navigating using Webbrowser Control. Now I want do this in ASP.Net web application(C#...
0
917
by: Christopher Beltran | last post by:
This may not be an asp.net problem but one of our customers is running into this with our asp.net application. They log into our web application which is hosted on their servers. After logging...
41
4240
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
6
3916
by: hemant.singh | last post by:
Hi all, I am trying to get a way by which I'll know exactly when user goes out of my site by clicking on close button in browser, So that w/e user click close button in browser, I can send a...
7
10031
by: =?iso-8859-1?q?Jesper_R=F8nn-Jensen?= | last post by:
Hi. I just ran into a situation where I want to emulate the IE specific obj.click() syntax on an object on the webpage. The most convenient thing for me is if I were able to just select my ...
2
1205
by: Hakan Fatih YILDIRIM | last post by:
Hi List, Ä° want make a windows app that will detect and click links on the browser.For doing this i thought like this. grabbing the screen and then detect the locations of the links(image...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5671
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5069
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1577
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.