title: How to get file names from Ajax fileupload control in gridview in asp.net. (Remember its ajax fileupload control)
body: <p>I have used Ajax fileupload control in gridview, to upload files for each record in the gridview. I used ajax fileupload control, because i needed the drag and drop upload facility too. Its working awesome. 
  But now once a file is selected in each row i want to get file names from the fileupload controls which are in every row within the gridview. </p>
  
  <p>I have googled alot, how i could get uploaded file names on a button by name "Next" click, but i found no solution. Here is my GridView with Ajax fileupload control.
      <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;asp:GridView ID="gvImgsSelect" autogeneratecolumn="false" runat="server"&gt; 
    &lt;Columns&gt;
    
     &lt;asp:TemplateField HeaderText="Campus"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:Label ID="lblCampusName" runat="server" Text="&lt;%#Bind('campusName') %&gt;"&gt;&lt;/asp:Label&gt;
              &lt;/ItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
    
    &lt;asp:TemplateField HeaderText="Image1"&gt;
      &lt;ItemTemplate&gt; 
        &lt;asp:AjaxFileUpload ID="ajxFileUpload1" width="200px" MaximumNumberOfFiles="1" runat="server" AllowedFileTypes="jpg,jpeg,png,gif"/&gt; 
      &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;
    &lt;/Columns&gt; &lt;/asp:GridView&gt;
  
  &lt;asp:Button ID="btnNext" runat="server" Text="Next" onclick="btnNext_Click" /&gt; </code></pre>
  </div>
  </div>
   Is there anyone who wants to help me in this regards please. :(</p>