title: How to put the focus to a TextBox in OnNavigatedTo event?
body: <p>In Windows 8, when a page is navigated, I need to put the focus to a specific TextBox.</p>
  
  <p>I used:</p>
  
  <pre><code>protected override void OnNavigatedTo(NavigationEventArgs e)
  {
      base.OnNavigatedTo(e);
      myControl.Focus(Windows.UI.Xaml.FocusState.Keyboard);
  }
  </code></pre>
  
  <p>But it does not work. However, if I call <code>myControl.Focus(Windows.UI.Xaml.FocusState.Keyboard);</code> from a button click event, it works fine.</p>
  
  <p>How can I set the focus to a TextBox when the page is loaded?</p>