.net - How to Handle/Catch the Link Clicked inside WebBrowser Control in VB.Net 2008 -
i have webbrowser control inside vb.net 2008 application.
when click link inside webbrowser, opens new internet explorer window. not handle web page cannot in way modify target property.
is there way in vb.net catch clicked link , have display inside particular webbrowser control?
try this:
private void mywebbrowser_newwindow(object sender, system.componentmodel.canceleventargs e) { e.cancel = true; mywebbrowser.navigate(mywebbrowser.statustext); }
Comments
Post a Comment