(X) Hide this Watch a recording of the recent webinar Building a Silverlight 4 application end-to-end by Gill Cleeren
View the webinar recording | Download the slides | Download the demos
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / News / View News

Refresh a WP7 PhoneApplicationPage

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jan 06, 2011
(0 votes)
Tags: Windows Phone 7 , WP7 , Daniel Vaughan

Daniel Vaughan demonstrates this quick way to refresh a Windows Phone 7 page.

Source: Daniel Vaughan's Blog

We use the NavigationService to navigate to the current page. There's a catch though (in fact there are two but we'll get to the second in a moment), we need to make a change to the Uri, else the NavigationService thinks we are trying to perform fragment navigation, which is not supported, and will raise an exception.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 7 and 1 and type the answer here: