# Multiple File Selection

## Multiple File Selection

With **RadAsyncUpload** it is possible to select multiple files. You can set the **MultipleFileSelection** property to "Automatic".

When you set the **Multiple file selection**, the user can select more than one file from the File Upload dialog box by holding the Ctrl key or they can click on a file, then hold Shift down, and click on another file so all the files between them are selected(Apple computers support this using the Command key). The image below shows using the Ctrl key to choose several files.![asyncupload multiple File Selection 1](https://www.telerik.com/products/aspnet-ajax/documentation/assets/c19d0eee58998d81e09b6ce8e5a89039/asyncupload_multiplefileselection1.png)

## Succession of the client events

After the user selects files and clicks "Open", the [OnClientFilesSelected](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfilesselected) event is invoked and after that the [OnClientFileSelected](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfileselected) event is fired for every separate file.

If the first file passes validation, [OnClientFileUploading](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfileuploading) is thrown and if the selected file is successfully uploaded, the [OnClientFileUploaded](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfileuploaded) event is thrown. If the file upload fails, the [OnClientFileUploadFailed](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfileuploadfailed) event is thrown instead. If the selected file does not pass the validation, [OnClientValidationFailed](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientvalidationfailed) is thrown instead of **OnClientFileUploading** event. In such case any other event that follows are not reached at all for this file.

This succession is repeating for each one or the selected files and after the last one is uploaded the [OnClientFilesUploaded](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/client-side-programming/onclientfilesuploaded) event is fired.

> note Currently setting **MultipleFileSelection=Automatic** and **MaxFileInputsCount** at the same time is not supported scenario with **RadAsyncUpload** .

> note In cases with **Mobile Devices** and **Tablets** if you want to have the ability to upload files from the camera by taking picture after the **Select** button is clicked the **MultipleFileSelection="Disabled"** should be set. Otherwise only the already existing files will be possible for upload.

## See Also

[Getting Started](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/getting-started)

[Manual Upload](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/functionality/manual-upload)

[Manipulating Query String Parameters In The Upload Handler](https://www.telerik.com/products/aspnet-ajax/documentation/controls/asyncupload/functionality/manipulating-query-string-parameters-in-the-upload-handler)
