开发者

redirect aspx page to xaml page

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜