I have stored an HTML file in IsolatedStorage as test.html
.
In UI I have a WebBrowser
component called browser. I'm using the following code to show the webpage in the browser:
browser.Navigate(new Uri("isostore:/test.html", UriKind.Absolute));
However it's giving me the prompt to search for an app in store, as if I'm trying to use LaunchUriAsync
or LaunchFileAsync API
.
I guess the problem is with the Uri format. What should be the correct Uri format in this case?