Search code examples
c#windows-phone-7navigatetourl

Windows Phone 7 Navigate To URL


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));