I am wondering how I can refresh a page in a Windows8 application. I use single page navigation based on the WinJS.Navigation component.
The only way I found is to navigate on a “refresh.html” page which simply do a WinJS.Navigation.back() action. I am not very pleased by this solution.
I tried the window.location.reload() in vain.
Any idea?
Since you are using HTML5/JS you can just reload the data as you would when you retrieved it in the first place. I’m assuming that’s an AJAX call or similar. There is no “refresh page” command or anything like that.