WP7确定我从哪个页面导航 [英] WP7 determining which page I navigated from

查看:73
本文介绍了WP7确定我从哪个页面导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有3页.第1页是搜索条件,第2页是列表,第3页是详细信息.

I have 3 pages. Page 1 is search criteria, page 2 is list, page 3 is details.

如果我从第1页转到第2页,我想调用Web服务并将详细信息加载到该页面上.

If I go to page 2 from page 1 I want to call a web service and load details onto the page.

如果我从第3页转到第2页(即使用后退"按钮),我不想重新加载已存在的数据.

If I go to page 2 from page 3 (ie using the back button) I don’t want to reload the data as I already have it.

要确定激活第2页时的处理方式,我需要知道我来自哪里.

To determine what to do when page 2 is activated I need to know where I came from.

在导航事件中我什么都看不到.

I can't see anything in the navigating event that tells me this.

有什么想法吗?

欢呼

史蒂夫

推荐答案

作为新的(更好的?)解决方案,您应该考虑使用新的(在2010年12月9日)

As a new (& better?) solution, you should consider using the new (at 12/9/2010) Non-Linear Navigation Service.

这篇关于WP7确定我从哪个页面导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆