Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Multi-File Selection

Clear selectionBrowse...
Upload


Allowed file extensions: .jpg, .jpeg, .gif, .png.
Maximum file size: 4 MB.
Uploaded files


This demo illustrates Upload Control's multi-file selection capability. It allows end-users to choose several files to upload within a single file open dialog. This demo also shows how a custom popup progress panel can be implemented to display upload progress information for both the currently processed file and the entire uploaded data.

By default, the multi-file selection mode is disabled. To enable it, switch the AdvancedModeSettings.EnableMultiSelect property to true.

When multi-file selection is on, the UploadControl text box is used to display information about the current file selection. When selecting a single file, the text box contains the selected file name. When multiple files are selected, the text box displays the total number of selected files. In this case, the text box' tooltip will contain a list of the selected files.

A list of files selected for upload can be easily cleared by using the "Clear file selection" button. By default, this button automatically appears within the text box when any file is selected. To disable the button functionality, set the ShowClearFileSelectionButton property to false.

In this demo, you will learn how to handle the UploadControl's UploadingProgressChanged client event to obtain information about file upload progress, and to use this information to calculate the speed of an upload and forecast the estimated upload time.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxFileManagerAndUploadDemos