title: Skip to Content Link
body: <p>I am trying to put a Skip to Content link within my web application, but am having some issues.</p>
  
  <p>Currently I have</p>
  
  <pre><code>&lt;asp:LinkButton id="linkSkiptoContent" runat="server" OnClick="linkSKipToContent" Text="Skip to Content"&gt;&lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>within the asp page</p>
  
  <p>and an onClick event receiver</p>
  
  <pre><code>protected void linkSkipToContent_Click(object sender, EvenArgs e){
      checkbox.Focus();
  }
  </code></pre>
  
  <p>I am trying to avoid javascript because users have the option to disable it, which would render the link useless. And I know the checkbox.Focus() works properly, since I stuck it in the Page_Load() method and that worked at intented. However, what happens is clicking the link causes it to be focused after the onClick event completes.</p>