rizwan khalid Posted April 28, 2005 Share Posted April 28, 2005 HelloI 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. Link to comment Share on other sites More sharing options...
rizwan khalid Posted April 28, 2005 Author Share Posted April 28, 2005 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!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now