No path is too difficult. No destination is too far !
Posts tagged Navigation
How to open popup or redirect to web page in SilverLight
Feb 16th
Posted by Ashish Sehajpal in Development
This is the code to open a popup window in SilverLight.
To open a website in a popup using SilverLight, we need to call Window.Navigate method. This method can be used in two different ways i.e. simply navigating to that webpage or using the window option [_blank, _self] etc.
// Navigate to the webpage itself
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(”http://www.microsoft.com”));
//or if you want to open a popup (in a separate window)
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(”http://www.microsoft.com”), “_blank”);