Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,

I need to set start Up Page in Silverlight.In App.xaml.cs,I have Set the
start page in Application_Startup as
this.RootVisual = new SilverlightControl1();
but the start page was not set.Can any one pls tell me how to set up start up page in silverlight.Thanks in Advance
Posted
Updated 12-Feb-12 0:04am
v2
Comments
Lakamraju Raghuram 10-Feb-12 4:24am    
Is there any error you are getting ??
Ravi Sant 10-Feb-12 6:04am    
It should have worked. please check http://stackoverflow.com/questions/4123917/set-the-silverlight-start-page. Hope its useful.

1 solution

Try the below code in App.xaml with StartUpUri attribute

HTML
<application x:class="My.App" xmlns:x="#unknown">
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="SilverlightControl.xaml"></application>
 
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