O
ofiras
Hi everyone,
I am working on a program in C# and I have a problem.
I am using WebBrowser, and I need the program to click a button that
will transfer me to another URL, and then I need an event that will
fire after the WebBrowser will finish navigating.
The problem is when I try getting this event. When I use
DocumentCompleate it just fires right away, without waiting for the
WebBrowser to navigate. I thought that I could just take the URL the
button is navigating to, but I can't since it navigates by
JavaScript.
So what I have to do is to find out when the WebBrowser is starting to
navigate away, and then add the DocumentCompleate event.
How can I do it?
Please help,
Ofir.
I am working on a program in C# and I have a problem.
I am using WebBrowser, and I need the program to click a button that
will transfer me to another URL, and then I need an event that will
fire after the WebBrowser will finish navigating.
The problem is when I try getting this event. When I use
DocumentCompleate it just fires right away, without waiting for the
WebBrowser to navigate. I thought that I could just take the URL the
button is navigating to, but I can't since it navigates by
JavaScript.
So what I have to do is to find out when the WebBrowser is starting to
navigate away, and then add the DocumentCompleate event.
How can I do it?
Please help,
Ofir.