File Upload
- 2 minutes to read
The Upload Control allows users to upload files from a client computer and save them on the server.
The ASPxUploadControl class is the server-side Upload Control, and the ASPxClientUploadControl class is its client-side equivalent.
Features
- Standard and Advanced Upload Modes
- The control can work in either Standard or Advanced upload mode. In Standard mode, a file is sent to the server in one request and is cached in server memory. In Advanced mode, a file is sent to the server in small packets (one by one) and is saved in a temporary file in a specific server folder.
- Multi-File Selection
- The control allows users to choose multiple files to upload in a single open dialog.
- Validation
- The uploaded file can be automatically validated on the server. If the validation fails, the control can display an error message. Developers can also implement custom validation logic.
- Drag and Drop Support
- The control allows you to specify external zones where files can be dropped and added to the upload control.
- Cloud Storage Support
- The control allows users to upload files to the most popular cloud services: Amazon, Azure, Dropbox, Google Drive, and One Drive.
- Appearance Customization
- You can customize the control appearance as follows: apply a DevExpress Theme, specify control element style settings, or assign CSS classes.
Important
The ASPxUploadProgressHttpHandler is required for the ASPxUploadControl to correctly process file uploads in advanced upload mode and to support upload progress indication.
The ASPxUploadProgressHttpHandler is automatically registered within a web project’s Web.Config file when an ASPxUploadControl is added to a form in Design view. If you do not use design-time editing and create the control programmatically, register the handler manually.