Click here to Skip to main content
15,886,056 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to generate a popup window in silverlight? I an redirect to page1.xaml page then what is the code?
Posted
Updated 8-Feb-10 21:42pm
v2

 
Share this answer
 
If you want to generate a Popup Child Window inside the Silverlight application, you can use the Silverlight Toolkit to create the Child Window. And if you want to create a browser window instance to create the Popup Window then you can write the following code within Silverlight:


C#
HtmlPage.PopupWindow(new Uri("http://google.com", UriKind.Absolute), "_blank", new HtmlPopupWindowOptions() { Height = 300, Width = 300, Resizeable = false });



This will ensure to open up a Popup Window. You can add more HtmlPopupWindowOptions properties as per your need.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900