HTML - How do I know when all frames are loaded?
Posted
by Yuval Peled
on Stack Overflow
See other posts from Stack Overflow
or by Yuval Peled
Published on 2009-03-23T09:44:47Z
Indexed on
2010/04/13
14:33 UTC
Read the original article
Hit count: 443
I'm using .NET WebBrowser control. How do I know when a web page is fully loaded?
I want to know when the browser is not fetching any more data. (The moment when IE writes 'Done' in its status bar...).
Notes:
- The DocumentComplete/NavigateComplete events might occur multiple times for a web site containing multiple frames.
- The browser ready state doesn't solve the problem either.
- I have tried checking the number of frames in the frame collection and then count the number of times I get DocumentComplete event but this doesn't work either.
- this.WebBrowser.IsBusy doesn't work either. It is always 'false' when checking it in the Document Complete handler.
© Stack Overflow or respective owner