title: Calling Input Types in Code Behind
body: <p>OK, I never use this :</p>
  
  <pre><code>&lt;input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value="" /&gt;
  </code></pre>
  
  <p>I usually use this : </p>
  
  <pre><code>&lt;asp:TextBox type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" runat="server"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>With the last one I am able to call the textbox like so in my code behind :</p>
  
  <pre><code>username.Text = "blah blah"
  </code></pre>
  
  <p>But with the first one I am not able to call it by the <code>id</code>. Can anyone tell me how I can call the first example <code>input type</code> in my code behind? </p>