I make installed app on windows phone which crash but when I run in windows emulator it did not crash
I have button where I load page which have browser and I try to load there
Code for button click
private void Button_Click(object sender, RoutedEventArgs e)
{
QueryString queryString = new QueryString { Parameter = "http://www.example.com/en/about" };
App.RootFrame.Navigate(typeof(WebViewPage), queryString);
}
onNavigatedTo of other Page
protected override void OnNavigatedTo(NavigationEventArgs e)
{
QueryString param = e.Parameter as QueryString;
Uri uri = new Uri(param.Parameter,UriKind.Absolute);
webView.Navigate(uri);
}
Not only it is happening with webview but also it is also happening with ListFlyOut control.
I don't know what is the issue but it is crashing on the device.
I just reset my Windows Phone and install again my app, voila all start working. With much better performance.