title: ASP.NET GridView postback not setting posted controls' values
body: <p>When adding an EditItemTemplate of some complexity (mulitple fields in one template), and then parsing the controls from the RowUpdating event, the controls that were manually entered by the user have no values. My guess is there is something going on with when the data is bound, but I've had instances where simply adding and attribute to a control in codebehind started the behavior and removing that code made the code work.  As a work-around, I can Request(controlname.UniqueId) to get it's value, but that is rather a hack.</p>
  
  <p><strong>Edit</strong>
  When I access the value like so</p>
  
  <pre><code>TextBox txtValue = gvwSettings.SelectedRow.FindControl("txtValue") as TextBox;
  </code></pre>
  
  <p>the text box is found, but the .Text is not the user input.</p>