title: Get text value of input from FindControl
body: <p>I know now normally you can get the value of a text input using the following:</p>
  
  <pre><code>txtName.Text
  </code></pre>
  
  <p>But because my input is inside of a LoginView I am using FindControl like this:</p>
  
  <pre><code>LoginView1.FindControl("txtComment")
  </code></pre>
  
  <p>This successfully find the text input but returns its type rather than the value.  Adding the Text function at the end does not work.</p>