如何在Silverlight中导航到另一个页面 [英] how to navigate to another page in silverlight

查看:68
本文介绍了如何在Silverlight中导航到另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个datagrid,我使用wcf服务从数据库中检索了表到datagrid.
并且当我单击超链接时,我在数据网格中有超链接,必须导航到下一页,您能告诉我该代码吗...


i have a datagrid and i retrived table to datagrid from database using wcf service.
and i have hyperlink in the datagrid when i clicked hyperlink, have to navigate to next page can u tell me code for this...

推荐答案

Silverlight导航概述 [此处 [ ^ ].
本文讨论 [
Have a look at the Silverlight Navigation Overview[^].

There is a video tutorial on the navigation framework right here[^].
This discusses[^] the framework as well.


这是在页面之间导航的简单方法.
Here is simple way to navigate from page to page.
HtmlPage.Window.Navigate(new Uri("http://mysite/default.aspx"));


这应该做,

System.Windows.Browser.HtmlPage.Navigate("URL");

但是简单的谷歌搜索将为您提供答案!
This should do,

System.Windows.Browser.HtmlPage.Navigate("URL");

But a simple google search would have given you the answer!


这篇关于如何在Silverlight中导航到另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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