Solved

Windows Mobile Jump to Page

Posted on 2011-09-22
1
184 Views
Last Modified: 2014-11-12
Probably very simple - I can see how you can click a button on a Windows Mobile form and jump to another page but how do you do this in code-behind?  I have a logon form which is done asynchronously as it communicates with a web service.  When my async request completed event fires it calls a function where I check to see if the logon was successful and if so jump to the main page of the application = how do I do this though?
0
Comment
Question by:ChrisMDrew
1 Comment
 
LVL 48

Accepted Solution

by:
Mikal613 earned 500 total points
ID: 36580027
For Windows Phone 7:

this.NavigationService.Navigate(new Uri("/YourNewPage.xaml", UriKind.Relative));

For WM6.X and 5

Decalare a new instance of the form you want to show and call Show()
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question