Windows 8 metro style issues related to refresh.
-
יום שישי 27 יולי 2012 17:05
I have an application that has the MainPage and an HtmlPage.
Inside the MainPage I have a ListView that keeps a list of html file path, so when I select an item I use the ItemClick event to treat this event. So inside this method I open the HtmlPage and load the html file inside a webview component. At this moment, I am able to use the mouse and select some text of the loaded html. So I can make some copy of this text, for example.
Up to now everything is ok, the issue come when I press the back button from the HtmlPage to MainPage. So, at this moment, when I select an item of ListView and open the html page, I am not able to select the text of html any more.
Curiosities:
1- In case of overlap my app with some other, so there is some internal refresh and then I am able to select the html text again.
2- When I use the same applications in a tablet for example, I use single finger touch to select and open an item of the ListView, in this case, I don’t have this problem as well.
Question:
1- I’ve tried a lot to make a refresh in my application but unfortunately it was not possible. Is there any method or event that makes it?
2- Behind the scenes, there is some screen update that is happening on finger tap and does not happen on mouse click event. I tried to see the difference between them but it is not possible. Anybody knows why it is not working with mouse click event? (I tried the SectionChanged ListView event, and did not worked too). Thanks very much, DennisMG.
- נערך על-ידי DennisMG יום שישי 27 יולי 2012 20:30
כל התגובות
-
יום שני 30 יולי 2012 16:13
I'm having the same problem. My application is openning 3 pages App->MainPage ->ContentPage, in the last page (ContentPage) I'm having problem related in refresh the page (ContentPage) some features doent work, like selection text in a WebView Control.
Sample:
The first time, when I open the (ContentPage) works well, but when I return to MainPage and try open the same content (ContentPage) I can't select text in the WebView Control.
Someone knows what happend?
-
יום שישי 03 אוגוסט 2012 14:21מנחה דיון
Can you provide a repro app?
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.