locked
ASP.NET WebForms File Upload with a progress bar RRS feed

  • Question

  • I am trying to accomplish a File Upload Progress Bar but can't find a right solution. There are many suggestions on the File Upload Progress Bar implementation out on the web but those suggestion seem to be chaotic and outdated

    A lot of File Upload Progress Bar solutions implement IFrame, which is out of the questions because it will undermine the site's security

    Some solutions suggest SignalR but the SignalR itself doesn't really deal with the upload itself

    Some solutions suggest WebClient progress bar, but is it feasible to swap File Upload control code behind with the WebClient functionality in the classical ASP.NET just for the sake of progress bar?

    There are a lot of suggestion to use HttpHandler, which will result in a substantial changes of our current architecture (plus it looks like we have to buy some JQuery (Uplodify) functinality.

    There are suggestions to use NeatUpload code, but that seems to be way too complex to implement and not enough examples are out there

    Thus, in the July 2019, what is the most optimal way to implement progress bar in the classic ASP.NET Web Forms applications?

    Thank you in advance for all the suggestions/help
    • Moved by CoolDadTx Wednesday, July 3, 2019 1:30 PM ASP.NET related
    Tuesday, July 2, 2019 11:45 AM

All replies

  • Hello,

    Not knowing what you have seen

    https://www.aspsnippets.com/Articles/Upload-files-with-Progress-Bar-in-ASPNet-using-jQuery.aspx

    Core

    http://sikorsky.pro/en/blog/file-uploading-with-progress-bar-in-aspnet-core

    Also have you asked in the ASP.NET forums?

    https://forums.asp.net/


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, July 2, 2019 12:25 PM
  • Thank you very much for your response

    Unfortunately the second suggestion is not applicable as we don't MVC .Net Core application. We use classic ASP.Net Web Forms

    The first one suggests using HttpHandler which would require a major change in our architecture. My question is if the HttpHandler is the only option?

    P.S. I will register for the forum you suggested

    Tuesday, July 2, 2019 1:22 PM
  • Hi James,

    Thank you for posting here.

    If your app is ASP.Net Web Forms, I suggest that you could post in the following forum.

    https://forums.asp.net/18.aspx/1?Web+Forms

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 3, 2019 1:33 AM