开发者

Silverlight 4 - Loading a new webpage on button click?

开发者 https://www.devze.com 2023-02-04 17:34 出处:网络
In the older Silverlights, to open up a n开发者_运维问答ew webpage I\'d use HtmlPage.Navigate, but that doesn\'t appear to work in Silverlight 4. (Yes, I\'ve loaded System.Windows.Browser; )

In the older Silverlights, to open up a n开发者_运维问答ew webpage I'd use HtmlPage.Navigate, but that doesn't appear to work in Silverlight 4. (Yes, I've loaded System.Windows.Browser; )

Thanks in advance!

-Sootah


From MSDN, might using HtmlPage.Window.Navigatework?

System.Windows.Browser.HtmlPage.Window.Navigate(
    new Uri("http://silverlight.net"), 
    "_blank", "height=300,width=600,top=100,left=100");

link text

0

精彩评论

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