Skip to main content
Home Forums General Silverlight Getting Started Displaying multiple .xaml pages
2 replies. Latest Post by Min-Hong Tang - MSFT on November 9, 2009.
(0)
nt86
Member
19 points
9 Posts
11-04-2009 9:45 AM |
I have 2 .xaml pages. The 1st one displays fine, it is only a Data Grid I pretty much have the same code on my 2nd .xaml page and its not displaying right its only displaying as half its actual size in the top corner of the page and i have the width and height set, (the project is not showing up any errors either). I only have 1 Test.aspx page do i need to create a 2nd to display the second .xaml page or how does this work.??
Thanks
mchlsync
Star
14606 points
2,730 Posts
11-04-2009 10:23 AM |
You need both of your user controls to Main Page.
For example: You have Page1.xaml and Page2.xaml. then you need to add both controls in MainPage.xaml
<StackPanel>
<prx:Page1 Width="100" Height="100" /><prx:Page2 Width="100" Height="100" />
Min-Hong...
Contributor
3376 points
377 Posts
11-09-2009 12:32 AM |
Hi,
According to your thread , i assume that you put both .xaml pages in the Test.aspx.
You don't need to create another aspx page to display multiple SL application. Em, can i see some of your code block. Maybe i can nail down the cause then. Informations about your SL appliaction plugin(the object element) and your SL application's size define will be very helpful.
Best Regards