[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Collapse]File Management
   [Expand]Product Information
   [Expand]File Manager
   [Collapse]File Upload
     ASPxUploadControl Overview
    [Collapse]Concepts (ASPxUploadControl)
      Upload Modes
      Uploading Large Files
      Multi-File Selection
      Page Life Cycle During File Upload
      Drag and Drop
      Appearance Customization
    [Expand]Visual Elements
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Multi-File Selection

If used in Advanced Upload Mode, ASPxUploadControl supports multi-file selection capability. It allows end-users to choose several files to upload within a single file open dialog. By default, the multi-file selection mode is disabled. To enable it, switch the UploadAdvancedModeSettings.EnableMultiSelect property to true.


Advanced Upload Mode implementation is based on HTML5 technology. If HTML5 support is not available in an end-user browser, Advanced Upload Mode uses technologies provided by Microsoft Silverlight. If HTML5 is not supported and Silverlight is not installed or is disabled, a specific message is rendered instead of the ASPxUploadControl, providing end-users with a Silverlight download link.

Refer to Advanced Upload Mode topic for more details.

When multi-file selection is on, the ASPxUploadControl 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 this button functionality, set the ASPxUploadControl.ShowClearFileSelectionButton property to false.

In advanced upload mode, when multi-file selection is enabled, you can get the information about the current file's upload process, using the currentFileContentLength, currentFileUploadedContentLength, and currentFileProgress properties of the ASPxClientUploadControl.UploadingProgressChanged event's argument. The total upload progress information can be accessed via the totalContentLength, uploadedContentLength, and progress arguments.

You can specify the text that is shown when an error occurs in multi-file selection mode via the UploadControlValidationSettings.MultiSelectionErrorText property.

View the Demo

To see this feature in action, please refer to the following online demo: Multi-File Selection.

Is this topic helpful?​​​​​​​