Windows Phone 7 Navigate To URL
-
04-06-2021 - |
Question
I have a folder named Views
and inside it I have pages I want to navigate to. There is a page inside this folder named "Y.XAML" so I'm trying to use:
NavigationService.Navigate(new Uri("Viev//Y.xaml", UriKind.Relative));
Why is this not working?
Solution
Try this.
NavigationService.Navigate(new Uri("/Views/YourPage.xaml", UriKind.Relative));
OTHER TIPS
- You Navigate to "Viev" not "Views".
- Its Views/Y.xaml not Views//Y.xaml
Other then that it should work. If not, provide more Information
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow