In a Silverlight app for Windows Phone 7, I invoke a new page using
NavigationService.Navigate(new Uri("/View/SecondPage.xaml", UriKind.Relative));
Now I want to pass the parameters to a new page. I understand that a simple parameter can be passed using:
NavigationService.Navigate(new Uri("/View/TilgungsratePage.xaml?id=4711", UriKind.Relative));
and read on the new page with
protected override void OnNavigatedTo(Microsoft.Phone.Navigation.PhoneNavigationEventArgs e) { base.OnNavigatedTo(e); String id = NavigationContext.QueryString["id"]; }
For simple parameters this is fine, but how do I pass the list?
Complex facilities?
Anything but simple meanings?
parameter-passing windows-phone-7
Sam Nov 10 '10 at 10:21
source share