This demo illustrates the DevExpress MVC Upload Extension’s ability to upload more than one file at a time. The Upload Extension allows end-users to upload files to the web application's server.
The Upload Extension allows any number of file input elements to be added or removed dynamically via the extension’s user interface. The ShowAddRemoveButtons property controls the availability of corresponding user interface elements. The initial number of file input elements can be defined using the FileInputCount property.
All file input element manipulations are executed on the client side. Corresponding server-side synchronization is executed on the first round-trip to the server.
On the server, uploaded files can be accessed using the UploadControlExtension.GetUploadedFiles static method. Each uploaded file can be validated using the UploadedFile.IsValid property and can be saved via the UploadedFile.SaveAs method.
In this demo, clicking the 'Add images to collection' button initiates a round-trip for multi-file upload. All valid uploaded images are displayed within the bottom panel.