I have form with web browser component, there is a button which triggers page reload, here is the code:
kiekmiestu = comboBox1.Text;
string nuoroda = "http://centrosokoladine.lt/PHP/generatorius.php?m=" + kiekmiestu;
webBrowser1.Navigate(nuoroda);
Lets say kiemiestu gets teks four, so the php generator generates 4 citys in random places of the map in each page refresh, my problem is that when I click the button second time WebBrowser1 seems nots navigating second time, couse page doesn’t change. Maybe it’s cache problems, o WebBrowser doesn’t navigate to same page if it’s already showed?
You can try webbrowser.refresh()
MSDN:
More about webbrowser.Refresh() and why navigate does not work:
for clearing the wbbrowser controls cache consider this article: http://support.microsoft.com/kb/326201/de