title: I am unable to use FileUpload which is in Gridview in the UpdatePanel, have also used trigger, how can i solve this?
body: <p>I want to use <code>UpdatePanel</code> for my <code>GridView</code>, but the <code>FileUpload</code> in <code>GridView</code> doesn't work even if I added trigger... Because it cant find <code>FileUpload</code> <code>Button</code>, whats the solution?</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Upload Kundli"&gt;
    &lt;ItemTemplate&gt;
      &lt;asp:FileUpload ID="FileUpload1" runat="server" /&gt;&lt;br /&gt;
      &lt;asp:Button ID="btnupload" runat="server" Text="Upload" OnClick="btnupload_Click" /&gt;
    &lt;/ItemTemplate&gt;
    &lt;ItemStyle HorizontalAlign="Center" /&gt;
    &lt;HeaderStyle HorizontalAlign="Center" /&gt;
  &lt;/asp:TemplateField&gt;
  
  &lt;/Columns&gt;
  
  &lt;/asp:GridView&gt;
  
  &lt;/ContentTemplate&gt;
  &lt;Triggers&gt;
    &lt;asp:PostBackTrigger ControlID="btnupload" /&gt;
  &lt;/Triggers&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>