Silverlight 4 - Loading a new webpage on button click?
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.Navigate
work?
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri("http://silverlight.net"),
"_blank", "height=300,width=600,top=100,left=100");
link text
精彩评论