This question is locked. New answers and comments are not allowed.
The upload control has allow multiple, true or false. Is there a way to set a max files allowed when set to multiple? For example, set to multiple but only allow 3 files to be selected for upload?
Also, we need to be able to also save a description of the file as well as the filename to a db for each file selected. Is there a way to handle this easier than what I've done before which was to allow only one file to up.load at a time, disallow automatically saving, have a separate textbox for additional info and then post to the controller. In the controller the file.saveas is called, if successfully saved, then run a second command to save the additional info and filename to a db. This kind of solution is fairly difficult when allowing multiple file selection. Any ideas?
Also, we need to be able to also save a description of the file as well as the filename to a db for each file selected. Is there a way to handle this easier than what I've done before which was to allow only one file to up.load at a time, disallow automatically saving, have a separate textbox for additional info and then post to the controller. In the controller the file.saveas is called, if successfully saved, then run a second command to save the additional info and filename to a db. This kind of solution is fairly difficult when allowing multiple file selection. Any ideas?