title: GridView onRowUpdating Event access to textBox
body: <p>I got i strange situations.
  This is a part of the ascx code of my gridview</p>
  
  <pre><code>&lt;asp:gridview ID="grdBooks" class="grdBooks" runat="server" width="100%" DataKeyNames="RecId,RefAuthorsRecId,RefBooksTypeRecId" autogeneratecolumns="false" onDataBound="grdBooks_dataBound" onPreRender="grdBooks_preRender" onrowediting="grdBooks_RowEdit" onrowupdating="grbBooks_onRowUpdating" onrowupdated="grdBooks_onUpdated" autogenerateeditbutton="true" onrowcancelingedit="grdBooks_onCancelingEdit"&gt;
              &lt;Columns&gt;
                  &lt;asp:TemplateField HeaderText="Title"&gt;
                      &lt;EditItemTemplate&gt;
                          &lt;asp:TextBox ID="txtgrdTitle" runat="server" width="200px"&gt;&lt;/asp:TextBox&gt;
                          &lt;asp:Label ID="lblgrdTitle2" runat="server" visible="false" Text='&lt;%# Eval("Title") %&gt;'&gt;&lt;/asp:Label&gt;
                      &lt;/EditItemTemplate&gt;
                      &lt;ItemTemplate&gt;
                          &lt;asp:Label ID="lblgrdTitle" runat="server" Text='&lt;%# Bind("Title") %&gt;'&gt;&lt;/asp:Label&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:TemplateField&gt;.....
  </code></pre>
  
  <p>This is a part of the "onRowEdit" and "onRowUpdating"</p>
  
  <pre><code>protected void grdBooks_RowEdit(object sender, GridViewEditEventArgs e)
  {
      grdBooks.EditIndex = e.NewEditIndex;
      grdBooks.DataSource = book;
      grdBooks.DataBind();
      TextBox txtTitle = grdBooks.Rows[e.NewEditIndex].FindControl("txtgrdTitle") as TextBox;
      Label lblTitle = grdBooks.Rows[e.NewEditIndex].FindControl("lblgrdTitle") as Label;
      txtTitle.Text = lblTitle.Text;
  }
  protected void grbBooks_onRowUpdating(object sender, GridViewUpdateEventArgs e) 
  {
      TextBox txtTitle = grdBooks.Rows[e.RowIndex].FindControl("txtgrdTitle") as TextBox;
      ....
  }
  </code></pre>
  
  <p>The problem is:</p>
  
  <ul>
  <li>the rowEdit works fine, change all the row of the grid in editable textboxes. The problem is that i write something in the text boxes and when i press "update" and go into the "onRowUpdate" method i haven't the new text(that i have inserted) in the textbox object that i have initialize. I got the old one. </li>
  </ul>
  
  <p>(as u see now i use a not visible label in the editTemplate that carry the value of the original Title. Before i had Eval("title") on the textbox text but i thought that this was the probl so i try this other way)</p>