Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
webbronser c # wpf does not load the updated site

I have a new application with wpf and c # I put the webbronser and have it open a website, but when I go there on the site and I change the html the c # program with the webbronser only loads the old site the webbronser does not load the site that was updated html

What I have tried:

webbronser.navigate(site);
webbronser.source(site);


I tried to clean the chache with this code but when I put the class and I use the clear cache command the program hangs</

c# - WebBrowser control caching issue - Stack Overflow[^]

so I saw this code is for windowns form and not for wpf


webBrowser.Refresh(WebBrowserRefreshOption.Completely);
Posted
Comments
[no name] 23-Jan-19 23:30pm    
Dispose the browser control (once in a while) and recreate it.
Laercio Tersi1 24-Jan-19 14:47pm    
webronserx.Dispose();

this error command, I'm using vs with wpf c #

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900