Tuesday, 30 October 2012

Handling Browser Navigation Event

Handling Browser Navigation Event

This trick will help you to capture the browser navigation event.. You could then include your code snippets which will execute whenever this event is triggered..

Here is the code for that:

public delegate void WebBrowserNavigatingEventHandler(Object sender, WebBrowserNavigatingEventArgs e);

browser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(Browser_Navigating);

private void Browser_Navigating(Object sender, WebBrowserNavigatingEventArgs e)


    /** the broswer control is doing some navagatin! **/


No comments:

Post a Comment

Thank You for Your Comments. We will get back to you soon.

back to top