I have Page1.xaml and Page2.xaml in Silverlight project. I want to pass query string values from Page1.xaml to Page2.xaml on the click event of a button using code behind. Can you please provide me sample code for this ?
1) How to pass query string values from Page1.xaml to Page2.xaml
2) How to retrieve the query string values in Page2.xaml
Thanks
This page on the MSDN covers these questions:
And:
I recommend you use the UriMapper, that makes a lot of the handling a lot easier.