Popup window in silverlight
-
Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance
-
Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance
-
Thanks for the reply But still the second window is opened in the same page. Is there any way to open it in a other window?
There's no "other window"s in Silverlight. Windows are controlled by the browser, so if you want a new window you could use something like HtmlPage.PopupWindow[^] or HtmlWindow.Navigate[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance
The popups that you can create are on the same page (like AJAX Modal Dialogs). You can open a popup calling from Silverlight a javascript function, but they will be an HTML popup (altough you can initialize inside another XAP application). HTH Braulio
/// ------------------------- Braulio Díez DBSchemaEditor.com Free Silverlight based DB Schema Modeling Tool /// -------------------------