Sootah
Sootah

Reputation: 1811

Silverlight 4 - Loading a new webpage on button click?

In the older Silverlights, to open up a new 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

Upvotes: 2

Views: 2420

Answers (1)

Grant Thomas
Grant Thomas

Reputation: 45058

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

Upvotes: 3

Related Questions