Reputation: 13
I have a C# application with a webpage displaying a website. Upon recently overhauling the website (fairly simple website, not much on it) the application continues to use the old background and does not use the CSS of the new document. I suspect some form of caching is causing this problem, can anyone help me with it? (The website works fine in browser, but not in the application)
Upvotes: 1
Views: 161
Reputation: 21766
You need to clear the cache of the webbrowser instance programatically:
webBrowser.Refresh(WebBrowserRefreshOption.Completely)
Upvotes: 1