Click here to Skip to main content
15,794,593 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to navigate my page and i want to must write code into the user control because i pass my id into user contro page so. how i access the frame . if we not user user contro than we navigate page using value like following..


<Grid Grid.Column="1">
                                <GridView  x:Name="mygridview" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.RowSpan="2" ItemTemplate="{StaticResource DataTemplate1}" Width="529" Height="173" Grid.Column="1" SelectionChanged="mygridview_SelectionChanged_1" />

2) code behind
private void mygridview_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
          var seld = (Driver)mygridview.SelectedItem;
              string id=seld.ID;

than how i pass likje that this.Frame.Navigate(typeof(DriverPage),id); into the user control

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