Multiple files upload

24 Jul 20191 minute to read

The UploadBox control provides support to upload multiple files spontaneously. The MultipleFilesSelection property enables you to select multiple files while browsing. To achieve this, set the MultipleFilesSelection property to true. The data type is Boolean.

NOTE

The Multiple file selection supports all the latest versions of browser except Internet Explorer 9 and its previous versions.

The following steps explain the configuration of the MultipleFilesSelection property in the UploadBox.

In the ASPX page, add the UploadBox element.

  • HTML
  • <ej:UploadBox ID="Uploadbox" runat="server" SaveUrl="SaveFiles.ashx" RemoveUrl="RemoveFiles.ashx" MultipleFilesSelection="true" > </ej:UploadBox>

    NOTE

    The SaveUrl and RemoveUrl are the same as above (see Save File Action and Remove File Action section).

    The following screenshot displays the output.

    Multiple files upload

    File Upload