开发者

Refresh page after hitting the back button on widonws phone 7

I am developing a windows phone application. It's some kind of reminder which can have custom reminder categories. I am using the mvvm pattern.

I have two pages. One is for entering new data (category name and description) and editing and the other is for selecting a specific category wchich can then be edited/deleted.

The second page has a listbox which displays all categories that exist... after clicking on one of them the first page where the values (category name and desc开发者_JS百科ription) are already entered in the textboxes. I can now edit and save them. All this works fine except for one thing. After saving and hitting the back button (so that i can get back to the list) i realize that the page isnt refreshing so that the old value is still displayed. How can i make the page "refresh" after poping up again...


Your description of the problem is a bit vague without any code or XAML. There are few things you need to check -

  1. Check if the items in the page are databound properly
  2. Check if you have implemented properties of the ViewModel(s) correctly. RaisePropertyChanged in the property's setter must be implemented.

Code/XAML snippets will help others identify your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜