469,627 Members | 953 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,627 developers. It's quick & easy.

WebBrowser.Refresh() - when is it finished?

>From the MSDN documentation for WebBroswer.Refresh():

"The WebBrowser control stores Web pages from recently visited sites in
a cache on the local hard disk. Each page can specify an expiration
date indicating how long it will remain in the cache. When the control
navigates to a page, it saves time by displaying a cached version, if
one is available, rather than downloading the page again. The Refresh
method forces the WebBrowser control to reload the current page by
downloading it, ensuring that the control displays the latest version.
You can use this method to implement a Refresh button similar to the
one in Internet Explorer.

A document refresh simply reloads the current page, so the Navigating,
Navigated, and DocumentCompleted events do not occur when you call the
Refresh method."

Without the DocumentCompleted event how will I know when the Refesh has
finished reloading the document? Is the ReadyState property something
I could reliably check to know when I can start processing the document
in my C# application?

May 11 '06 #1
0 2251

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by John Bowman | last post: by
1 post views Thread by eskildb | last post: by
1 post views Thread by eskildb | last post: by
2 posts views Thread by Ryan Ramsey | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.