title: Get value from input html in codebehind c#
body: <p>I did some research and found out how I can read a value from the input html textbox.</p>
  
  <p>This worked fine for me, but at once it doesn't work.</p>
  
  <p>This is my code, it input html returns null</p>
  
  <pre><code>&lt;input type="text" name="inpNickname" placeholder="Nickname" data-placement="right" data-toggle="tooltip" title="Nickname" id="txtNickname" runat="server"/&gt;
  
  &lt;input type="text" name="inpPassword" placeholder="Password" data-placement="right" data-toggle="tooltip" title="Password" id="txtPassword" runat="server"/&gt;
  
  string Nickname = Request.Form["inpNickname"];
  string Password = Request.Form["inpPassword"];
  </code></pre>
  
  <p>If I change the Request.Form[] to the ID's, it still doesn't work.</p>