MVC with multiple (n) Uploader Controls

  •  04-27-2009, 3:51 PM

    MVC with multiple (n) Uploader Controls

    I have a need to render multiple Uploader controls to a page using MVC.  The controller requires unique names for each parameter, but since n controls need to be on the page, we can't hard code them as parameters to our controller action.
     
    Here's our scenario:
     
    A user has 30 huge files to upload.  These files will be queued (we don't want 30 uploaders uploading simultaneously).  Each file is associated to another form field on the screen -- something which the multiple-select upload option doesn't support.
     
    Can you provide an example in which we can use multiple (number determined at render-time) Ajax uploader controls in an MVC view that talks to a controller with a fixed number of parameters?
     
     Thanks,
     
    Rob 
     
View Complete Thread