Reputation: 7653
I created a Silverlight window and I want it to appear when I press a button. How can I do that? It doesn't has a "show" method...
Upvotes: 0
Views: 8375
Reputation: 189555
To open a new address in a new window use:-
HtmlPage.Window.Navigate(new Uri("the address here"), "_blank");
Upvotes: 2
Reputation: 36340
If you want to browse to a new silverlight application hosted in another html page you should use the NavigationService class to accomplish that.
If you on the other hand want to display another view defined in your silverlight application then you should do something like this Silverlight 3 Navigation.
Upvotes: 0
Reputation: 3085
see: Silverlight Simplified MVVM Modal Popup http://www.codeproject.com/KB/silverlight/MVVMPopUp.aspx
Upvotes: 0