You must Sign In to post a response.
  • Category: ASP.NET

    Holding filename in fileupload control

    hi every one,
    i'am trying to hold the file name in fileupload control last 2 days but i'm not get it.please tell me.
    "file upload control is dynamic.first i'am getting one file name in control again i click the add button that time i want hold the value in first fileupload control as well as dynamically creating onther fileupload control"

    i hope it's understanding.

    Thanks and Regards.
  • #765840
    so basically you want multiple file upload right ?
    There are many ways to implement multiple file upload
    1. using Ajax uploader
    Ajax Uploader is an easy to use, hi-performance ASP.NET File Upload Control which allows you to upload multiple files to web server without refreshing the page
    2. using .net framework 4.50
    The FileUpload.AllowMultiple property in .NET 4.5 and higher will allow you the control to select multiple files.
    in aspx file upload tag,add like class="multi"
    <asp:FileUpload ID="FileUpload1" class="multi" runat="server" />
    check below sample link

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765843

    As per my understand the post you are looking for multiple file upload right?

    If you are looking for the same, refer below link this might be helpful to you

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #765844
    hi sir,
    Thank you for responding.
    "" i'am not understanding this code.

  • #765847
    please check y screen shot.

    Delete Attachment

  • #765848
    basically below link uses JQuery to upload multiple files
    Here I am giving again some simple code links, please check below
    it uses ASP.Net 4.5 FileUpload control in Visual Studio 2012 and 2013
    hope it helps

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765849
    Please check my screen contains one button and textbox and fileupload control.when i click the button the textbox will hold the value but fileupload will not hold the value

    Delete Attachment

  • Sign In to post your comments