c# - Navigate between pages in windows 8 apps -
i new building windows 8 apps using c#.
whenever navigate page pop-up saying "no apps installed open type of link ms-resource". however, app runs fine.
the code use navigate scenariopage mainpage is:
private void hyperlinkbutton_click_1(object sender, routedeventargs e)//code msdn { this.frame.navigate(typeof(scenariopage)); }
can please me or provide pointers on how remove pop-up.
instead of passing type, need pass object. linked msdn page example:
// navigate object using navigate method this.navigate(new homepage());
so in case be
this.frame.navigate(new scenariopage());
or, can use override takes an uri parameter.
this.frame.navigate(new uri("scenariopage.xaml", urikind.relative));
Comments
Post a Comment