开发者

Ignore URL in Silverlight 4

开发者 https://www.devze.com 2023-03-18 06:51 出处:网络
I have a Silverlight Business Application, and I have the login Window as first window. After that, the application loads the MainPage.xaml, but when there is somet开发者_StackOverflow社区hing on URL,

I have a Silverlight Business Application, and I have the login Window as first window. After that, the application loads the MainPage.xaml, but when there is somet开发者_StackOverflow社区hing on URL, the application loads the page from the URL... How can I ignore the URL???, because I need that my application goes always to MainPage after login...


Did you try to redirect after a successful login?

 this.NavigationService.Navigate(new Uri("/Home", UriKind.Relative));
0

精彩评论

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