문제

I am creating an windows phone 8 app.In my app I have couple of pages and I want to navigate between pages.I create 8 page then i just try to navigate one page to another using this code

 NavigationService.Navigate(new Uri("/tespih3;content/tespih.xaml", UriKind.Relative));

from microsoft web page but I get error says: app.rootframe_navigation failed.

I also try to do this with navigateuri hyperlinkbutton properties but same error(it gets in debugger and says A navigation has failed; break into the debugger) again.

What may cause this problem ?

도움이 되었습니까?

해결책

Navigating to a page in the same assembly:

NavigationService.Navigate(new Uri("/Folder(s)/TargetPage.xaml", UriKind.relative));

Navigating to a page in another assembly:

NavigationService.Navigate(new Uri("/AssemblyName;component/Folder(s)/TargetPage.xaml", UriKind.Relative));
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top