I want to navigate from one page to an another for my windows phone app, but the problem is that if I use this type of code:
private void hyperlinkButton1_Click(object sender, RoutedEventArgs e) 
{ 
   NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative)); 
}
The debugger says that NavigationService is not available in the context
What should I do?
                        
NavigationService does not exist because it is only used in Windows Phone Silverlight apps.
Use Frame.Navigate():