Jump to content

Recommended Posts

Posted

Hello

I want to develop an application in C# that displays html pgae in web browser control. Further i want my C# application to be notified of events that are occuring in html file (displayed in browser control).

i can do this with asp, but this requires configuration of IIS on client side (which is not permtted).

I have heared from some one that i can do this with JScript (that can run in html file).

Help me in solving this issue.


Posted

Well after spending some time i got it.

The web browser control's event

BeforeNavigate2((object sender, AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2Event e)

is called each time the browser is about to open a page.

if you want some different action you can catch this event and have processing of your choice.

cheers!!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...