SmashAndGrab
asked on
Page navigation in windows phone 8.1 application not working.
Hi - thanks for looking!
I am trying to do something that should be very simple but is proving difficult!
I am trying to navigate from one page to another in my windows phone 8.1 application.
I have tried 2 different methods but neither work - see screenshot.
Any ideas?
Thanks
I am trying to do something that should be very simple but is proving difficult!
I am trying to navigate from one page to another in my windows phone 8.1 application.
I have tried 2 different methods but neither work - see screenshot.
Any ideas?
Thanks
do you have a navigation service?
try what i recommended above
((Frame)Window.Current.Con tent).Navi gate(typeo f(PreLogin ))
you'll have to include some using statements
try what i recommended above
((Frame)Window.Current.Con
you'll have to include some using statements
ASKER
Thanks!
Sorry - I am new to WP dev.
What do you mean do I have the naivigation service?
Which using statements do i need?
Currently I am using:
using System;
using System.Collections.Generic ;
using System.IO;
using System.Linq;
using System.Runtime.InteropServ ices.Windo wsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collect ions;
using Windows.Storage.Pickers.Pr ovider;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.P rimitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation ;
Sorry - I am new to WP dev.
What do you mean do I have the naivigation service?
Which using statements do i need?
Currently I am using:
using System;
using System.Collections.Generic
using System.IO;
using System.Linq;
using System.Runtime.InteropServ
using Windows.Foundation;
using Windows.Foundation.Collect
using Windows.Storage.Pickers.Pr
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.P
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
((Frame)Window.Current.Con
TopicPage is the actual class name of the view (page) you're trying to navigate to, you'll also have to include the namespace of the page