title: FormView.FindControl(): object reference error
body: <p>I have a formview that has several textboxes inside of tr/td's.  I'm trying to get the textboxes by using the .FindControl method but it's coming back null.  The FormView is always in Edit mode (so I'm always in the EditItemTemplate) and i'm trying to load querystring values into the textboxes coming from the previous page so I do need this to happen on page_load.  I do this on Gridviews all the time like this:</p>
  
  <pre><code>txtFirstName = (TextBox)fvGeneralInfo.FindControl("txtFirstName");
  </code></pre>
  
  <p>or like this:</p>
  
  <pre><code>txtFirstName = (TextBox)fvGeneralInfo.FooterRow.FindControl("txtFirstName");
  </code></pre>
  
  <p>or like this:</p>
  
  <pre><code>txtFirstName = (TextBox)fvGeneralInfo.Rows.FindControl("txtFirstName");
  </code></pre>
  
  <p>What gives?</p>
  
  <pre><code>&lt;asp:FormView ID="fvGeneralInfo" runat="server" 
      DataSourceID="objInstructorDetails"
      OnItemCommand="fvGeneralInfo_ItemCommand"
      OnItemUpdated="fvGeneralInfo_ItemUpdated"  
      DefaultMode="Edit"
      DataKeyNames="InstructorID" &gt;
      &lt;EditItemTemplate&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td colspan="2" class="Admin-SubHeading" style="padding-left:10px;"&gt;General Info:&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="Admin-FieldLabel"&gt;ID:&lt;/td&gt;
                  &lt;td&gt;&lt;asp:TextBox ID="txtInstructorId" runat="server" CssClass="Admin-Textbox" ReadOnly="true" Text='&lt;%# Bind("InstructorID") %&gt;' /&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="Admin-FieldLabel"&gt;First Name:&lt;/td&gt;
                  &lt;td&gt;&lt;asp:Textbox ID="txtFirstName" runat="server" CssClass="Admin-Textbox" Text='&lt;%# Bind("FirstName") %&gt;' /&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;/table&gt;  
          &lt;/EditItemTemplate&gt;
      &lt;/asp:FormView&gt;
  </code></pre>