I have a page that refreshes every 20 seconds and I need to know when it is done refreshing, the DocumentCompleted event does not fire when you refresh for some reason. Any ideas?
You could try waiting until the WebBrowser.ReadyState property is set to complete. Alternatively, instead of Refresh()ing you could Navigate() to the current URL, which would cause the DocumentCompleted event to fire as you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With