UploadControlBinderSettings.UploadStorage Property
Specifies the type of storage used by the UploadControl extension.
Namespace: DevExpress.Web.Mvc.BinderSettings
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
UploadControlUploadStorage | 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. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to UploadStorage |
---|---|
DevExpressEditorsBinder |
|
Remarks
UploadControl provides the capability to upload files to a server’s physical file system or to cloud services. Use the UploadStorage property to specify a type of storage where the extension uploads files.
When the UploadStorage property is set to Amazon, use the UploadControlBinderSettings.AmazonSettings property to specify the Amazon account settings.
When the UploadStorage property is set to Azure, use the UploadControlBinderSettings.AzureSettings property to specify the Azure account settings.
When the UploadStorage property is set to Dropbox, use the UploadControlBinderSettings.DropboxSettings property to specify the Dropbox account settings.