title: find control inside datalist in button event
body: <p>I had data list as label for Question and textarea for Answer ,as
  datalist render Question on label and the user will add the Answer in
  text area as the answers inserted in database. I did my code , but
  when I add my code to find the controls (label,textarea) they returned
  with null value although I add answers for the Questions .</p>
  
  <pre><code>protected void BT_submit_Click(object sender, ImageClickEventArgs e)
  {
  
      Label QID = (Label)Dl_Question.FindControl("lbl_QID");
      HtmlTextArea QAnswer = (HtmlTextArea)Dl_Question.FindControl("Txt_Answer");
  }
  </code></pre>
  
  <p>DataList code:</p>
  
  <pre><code>&lt;asp:DataList ID="Dl_Question" runat="server" onitemdatabound="Dl_Question_ItemDataBound"                                                                          onitemcommand="Dl_Question_ItemCommand"&gt;
     &lt;ItemTemplate&gt;
        &lt;asp:Label ID="lbl_QID" runat="server" Text='&lt;%# Eval("ID") %&gt;' Visible="false"&gt;
        &lt;/asp:Label&gt;&lt;br /&gt;
        &lt;asp:Label ID="Lbl_Question" runat="server" Text='&lt;%# Eval("Question") %&gt;'&gt;&lt;/asp:Label&gt;  &lt;br /&gt;
        &lt;textarea id="Txt_Answer" cols="80" rows="5" runat="server"&gt;&lt;/textarea&gt;
     &lt;/ItemTemplate&gt;
  &lt;/asp:DataList&gt;
  </code></pre>