I have a startup page as Menu.aspx
I want to redirect this page to login.xaml
so that whenver user type Menu.aspx
it should open login.xaml
then this .aspx
page.
How 开发者_开发百科do I do this? Please help me.
The browser cannot show directly show a xaml page. Silverlight is shown through an aspx page with an tag that contains the silverlight object. When you create a new project (and select host in a new web project) there is the default.aspx page, in there you will see the tag I am talking about.
By default the starting page for silverlight is the "MainPage.xaml" if you want to override that, go into your "app.xaml" in the code and modify the object in the Application_Startup event.
精彩评论