WebControl Link

pitaridis

Well-known member
Joined
Nov 18, 2005
Messages
63
Programming Experience
10+
I have a WebControl on a form and I want to execute some kind of code when the user clicks on a link. Does anyone knows how to do it?
 
See this for attaching event handler for links click event, you have to do it for all links in collection, but can use the same event handler method for each. http://www.vbdotnetforums.com/showthread.php?t=11287&highlight=webbrowser

You could also figure out something with the Navigating or Navigated events, but it is difficult because they fire several times each page.
 
Back
Top