在 Widonws Phone 7 上点击后退按钮后刷新页面
我正在开发一个 Windows Phone 应用程序。这是某种可以具有自定义提醒类别的提醒。我正在使用 mvvm 模式。
我有两页。一种用于输入新数据(类别名称和描述)并进行编辑,另一种用于选择特定类别,然后可以对其进行编辑/删除。
第二页有一个列表框,显示所有存在的类别...单击其中一个类别后,第一页的值(类别名称和描述)已输入到文本框中。我现在可以编辑并保存它们。除了一件事之外,所有这些都工作正常。保存并点击后退按钮(以便我可以返回列表)后,我意识到页面没有刷新,因此仍然显示旧值。如何让页面再次弹出后“刷新”...
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 description) 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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您对问题的描述有点模糊,没有任何代码或 XAML。您需要检查几件事 -
代码/XAML 片段将帮助其他人识别您的问题。
Your description of the problem is a bit vague without any code or XAML. There are few things you need to check -
Code/XAML snippets will help others identify your problem.