Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I'm have 4 pages in windows phone. On first page i set frame and named as _frm1. From first page i navigated to second page using _frm1, from second page i have bind the third page on _frm1 to show.
Posted

1 solution

You navigate from one page to second like this,
C#
private void button_Click(object sender, RoutedEventArgs e)
{
    NavigationService.Navigate(new Uri("/SecondPage.xaml", UriKind.Relative));
}

MSDN[^]

-KR
 
Share this answer
 
v2
Comments
Member 11183856 30-Oct-15 7:32am    
the navigationservice will not work for windows universal app(windows phone) bcoz i' using frame to navigate not page navigation
Krunal Rohit 30-Oct-15 7:45am    
You can use Frame.Navigate() for that.

-KR
Member 11183856 30-Oct-15 7:50am    
you didn't get my point in first form i have two stack panel, the first stack panel is header for all three page in second stack panel i have frame for navigation pages

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900