User controls, multiple file uploads, manual start

Last post 11-18-2008, 1:58 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-18-2008, 1:36 PM 45923

    User controls, multiple file uploads, manual start

    Hi
     
    We have a situation where we have multiple (unlimited) number of user controls which are loaded onto a page dynamically based on a script. Each user control could be photo enabled, which at present would mean it has a standard asp.net upload control visible. The user selects a photo, and then carrys on down the script, possibly selecting other photos as they progress.
     
    At the end of the script, they click a submit button, which then uploads the photo to our server. As you can imagine, this is causing some issues if there are a number of files, mainly because the user has not visual on the progress of the uploads, and thinks the browser is hanging and refreshes the page or quits the browser. (We have a message displayed over the submit button via Javascript which says "Please Wait" but users are users and they dont listen.
     
    So my question is, I would like to have the ability for a user to select photos are they going down the script, (multiple controls) but when they click the final submit button, to have a single progress control which shows all the files they have selected throughout the script, and upload them.
     
    Is this possible? Have you got any ideas how your control could fit. I like the manual start as that is a big step for us as not many controls have that feature. I guess I could have multiple of your controls within each user control and then have a java array which I loop through firing the start upload function for each one, but the progress details are then all over not nicely together at the end.
     
    Regards
    Warren
     
    Filed under: ,
  •  11-18-2008, 1:58 PM 45924 in reply to 45923

    Re: User controls, multiple file uploads, manual start

    Warren,
     
    Please check the following examples:
     
    11. Ajax based user profile
    User profile is the primary part of a community application. Ever wanted to allow users update the images of their profiles using AJAX without reloading the page? Check it now!
     
    8. Simulate File Upload
    A sample demonstrates how to use .Upload method to simulate a file upload event.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML