How to get the the address of internal links in a webview
if an user clicks an internal link in the web view.i want to get its "href".my link i开发者_高级运维s something like:
<li><a href="RV://w_make27" style="color:#003366;">Click ME!!</a></li>
As the link protocol is not http:// i am not getting the events (Navigating/navigated) fired
.please help me if anyone knows a solution for this problem.
Sujiz,
If I understand your question correctly, you are using a WebBrowser control to display a "web view" and want to capture the URLs that the user clicks on. Right?
If so, listen to the WebBrowser's Navigated/Navigating raised events & use the WebBrowser.Source property to get the URL that the browser component is loading.
This helps?
精彩评论