Skip to main content

Microsoft Silverlight

Answered Question How do I open a new XAML page from a XAML application?RSS Feed

(0)

advapi
advapi

Member

Member

3 points

13 Posts

How do I open a new XAML page from a XAML application?

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
vincracker

Contributor

Contributor

3116 points

522 Posts

Re: How do I open a new XAML page from a XAML application?

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
ken tucker

All-Star

All-Star

16276 points

2,479 Posts

Re: How do I open a new XAML page from a XAML application?

 Are you looking for something like this?

http://vectorlight.net/controls/popup_dialog.aspx

advapi
advapi

Member

Member

3 points

13 Posts

Re: How do I open a new XAML page from a XAML application?

yes, but possibly not using liquid component, since I'm just using another thirdpart component..

ken tucker
ken tucker

All-Star

All-Star

16276 points

2,479 Posts

Answered Question

Re: How do I open a new XAML page from a XAML application?

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

advapi
advapi

Member

Member

3 points

13 Posts

Re: Re: How do I open a new XAML page from a XAML application?

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
varshavmane

Contributor

Contributor

6721 points

1,579 Posts

Re: Re: How do I open a new XAML page from a XAML application?

Check this:

http://www.codeproject.com/KB/silverlight/slmodal.aspx

HTH Smile

Please "Mark as Answer" if this post answered your question. :)
Visit my Blog: http://varshavmane.blogspot.com/

vincracker
vincracker

Contributor

Contributor

3116 points

522 Posts

Re: Re: How do I open a new XAML page from a XAML application?

try this also http://www.codeproject.com/KB/silverlight/silverlight_windowedmodal.aspx

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft
Answered Question

Re: Re: How do I open a new XAML page from a XAML application?

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

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities