Navigate between pages Visual Studio For Windows Phone RRS feed

  • Question

  • User252895825 posted


    I have one .xamel page and this one is default page (first page) and then I added a new one page (named page2.xaml) in same solution. I added a button on the firs page and i want to navigate to a second page when i click on button 


    void button1_Click(object sender, RoutedEventArgs e)


    what to write to navigate to page2.xaml? like response.redirect in asp.net

    Tuesday, April 27, 2010 3:33 PM


  • User252895825 posted

    I just find it on Bing "WE BING WE BING WE BING":) 

    this.NavigationService.Navigate(new Uri("/Four-in-Hand.xaml", UriKind.Relative));


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, April 27, 2010 4:02 PM

All replies