Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit How do I open a new XAML page from a XAML application?
8 replies. Latest Post by Jonathan Shen – MSFT on July 7, 2009.
(0)
advapi
Member
3 points
13 Posts
07-02-2009 5:20 AM |
Hello to everybody,
I've googled but found no solution... I need to open an usercontrol in a new window in order to drag it, how do I achieve this in SL2?
The only way I've found is to use an ASPX page and to call the other UC from the aspx page, but I loose my appdomain this way... any politer way?
Thanks in advance
Paolo
vincracker
Contributor
3114 points
521 Posts
07-02-2009 5:28 AM |
Hi,
Are you trying to achieve something like this.
(If you still have problem then let me know otherwise mark reply as answer.)
ken tucker
All-Star
15738 points
2,390 Posts
07-02-2009 5:35 AM |
Are you looking for something like this?
http://vectorlight.net/controls/popup_dialog.aspx
07-02-2009 5:41 AM |
yes, but possibly not using liquid component, since I'm just using another thirdpart component..
07-02-2009 5:48 AM |
This blog post by Mike Snow shows how to make something similar
http://silverlight.net/blogs/msnow/archive/2008/08/19/tip-of-the-day-29-creating-a-transparent-draggable-dialog-with-rounded-corners.aspx
I am not sure what third party components you are using but Telerik and Component one have a window control. You control kit might have a control like the one by vector light
07-02-2009 5:57 AM |
I'm using the telerik (I'm newbie to SL), but I found no way to add the RadWindow by code (not declaring it in the xaml).. for now I declare it in the xaml file
varshavmane
6263 points
1,489 Posts
07-02-2009 5:59 AM |
Check this:
http://www.codeproject.com/KB/silverlight/slmodal.aspx
HTH
07-02-2009 6:00 AM |
try this also http://www.codeproject.com/KB/silverlight/silverlight_windowedmodal.aspx
Jonathan...
23562 points
2,304 Posts
07-07-2009 4:16 AM |
Hi Advapi,
Since your question is quite related with a third part control, we recommend you post your question here. Therefore, you will get a more specific help. Thanks for your post.
Best regards,
Jonathan