title: Set Focus on textbox when starting webpage
body: <p>When the webpage loads the focus is on the URL and not on the text box.</p>
  
  <p>Code used:
  On Page load:
  <code>TextBox1.Focus();</code> and <code>SetFocus(TextBox1);</code> - Neither work</p>
  
  <p>On asp side on tried in content:
  defaultfocus="TextBox1"</p>
  
  <p>and <code>OnLoad="Focus_Textbox"</code>
  calling function</p>
  
  <pre><code>protected void Focus_Textbox(object sender, EventArgs e) {
    TextBox1.Focus();
  }
  </code></pre>