title: How to redirect to page in Silverlight from XNA Page?
body: <p>What i'm trying to do is redirect from XNA GamePage.xaml to some other page in Silverlight.</p>
  
  <p>For example, once the player has no more lives, I want to display a Silverlight Page with the text GAME OVER. How can I do that? I tried something like this in onUpdate method:</p>
  
  <pre><code>if(lifes == 0)
  {
      SharedGraphicsDeviceManager.Current.GraphicsDevice.SetSharingMode(false);
      timer.Stop();
      NavigationService.Navigate( new Uri("/GameOverPage.xaml",UriKind.Relative));
  }
  </code></pre>
  
  <p>but this always give me an error. How should it be done to work?</p>
  
  <p>thanks for advance:)</p>