By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,313 Members | 1,145 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,313 IT Pros & Developers. It's quick & easy.

WebBrowser.Refresh() - when is it finished?

P: n/a
>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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.