MVC without full page post back

  •  04-10-2013, 2:14 PM

    MVC without full page post back

    I've got this mostly working, so when all the files have uploaded instead of it reloaded the whole page it calls Web API method to move the uploaded files to their proper/permanent locartions.

     

    The only issue is if I then go on and upload another file afterwards it still has the file(s) in its memory that were previously uploaded and so it tries to process those aswell.

     

    So what I want is to clear out or initialise the file uploader control client side usinf javascript, i've tried clearing the hidden form variable myuploader (this stores a | delimited string of guids relating to the files uploaded), but if I clear this out the previously uploaded files just reappear again if I upload more files.

     

    Hopefully there is a way in javascript to initialise the control? 

View Complete Thread