please advise how to load the document at the specified URL into the WebBrowser control.
The Url() method only set the URL but doesn’t load the webpage. I’m missing the Navigate() method
on the control.
v=1 will be cached by the browser as well. Can you please try changing your code to append a timestamp instead of 1 ?
Hope that helps.
Here is a sample App to reproduce the problem. The whole app is currently setup to run by showing html files stored in C:\temp.
I have created an IIS App “CTemp”, which allows to have the files exposed as http://localhost/CTemp/….
All is configurable through Settings parameters.
There is a TabControl with the different Wisej Web Controls. The HTMLPanel is properly following changes made to a file. To me it’s because the htmlPanel accepts a file path. All the others controls requiring a URL aren’t synched after changes to a document.
Here doing multiple edits isn’t working properly,pressing F5 after an edit is clearing the problem. It must be cache related.
I can’t understand why I can’t refresh the same way by code as by pressing F5.
To be sure it isn’t IIS related, I checjed in the HTTP Response Headers : “Expire Web content : immediately”.
After having done an edit through the program, when I visit the URL of the edit (http://localhost/CTemp/TEST.html?v=1) through a browser, it shows the changes.
Would you be so kind to give it a try ?
Thanks and Happy New Year to the whole team.
That’s probably caused by the browser’s security. Wisej should handle the error though: will add a bug for this.
thank you for your reply. Using 1.3.16 and get following error messages in the IFramePanel control:
The WebBrowser control is not implemented yet. Use the IFramePanel for now, it’s basically the same.
Please login first to submit.