ASPxUploadControl.UploadStorage Property
Specifies the storage type.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(UploadControlUploadStorage.NotSet)]
public UploadControlUploadStorage UploadStorage { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| UploadControlUploadStorage | NotSet | One of the UploadControlUploadStorage enumeration values. |
Available values:
| Name | Description |
|---|---|
| NotSet | The upload storage is not set. File saving can be implemented manually by handling the ASPxUploadControl.FileUploadComplete event. |
| FileSystem | The control uploads files to the server’s physical file system. The files are automatically saved to a folder specified by the UploadControlFileSystemSettings.UploadFolder property. |
| Azure | The control uploads files to a storage on the Azure Service. |
| Amazon | The control uploads files to a storage on the Amazon Simple Storage Service (Amazon S3). |
| Dropbox | The control uploads files to a storage on the Dropbox Service. |
| GoogleDrive | The control uploads files to Google Drive. |
| GoogleDrivePersonal | The control uploads files to Google Drive (personal account). |
| OneDrive | The control uploads files to OneDrive. |
| OneDrivePersonal | The control uploads files to OneDrive (personal account). |
| SharePoint | The control uploads files to SharePoint. |
Remarks
The ASPxUploadControl allows you to upload files to a server’s physical file system or cloud services. Use the UploadStorage property to specify the type of storage where the control uploads files.
| Storage | Account Settings |
|---|---|
| Amazon | AmazonSettings |
| Azure | AzureSettings |
| Dropbox | DropboxSettings |
| FileSystem | FileSystemSettings |
| GoogleDrive | GoogleDriveSettings |
| GoogleDrivePersonal | GoogleDrivePersonalSettings |
| OneDrive | OneDriveSettings |
| OneDrivePersonal | OneDrivePersonalSettings |
Note
The following APIs are not in effect if you want to get file content or to save this file if the UploadStorage property is set to FileSystem: