Back to Devexpress

ASPxUploadControl.UploadStorage Property

aspnet-devexpress-dot-web-dot-aspxuploadcontrol-99017fc8.md

latest4.0 KB
Original Source

ASPxUploadControl.UploadStorage Property

Specifies the storage type.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(UploadControlUploadStorage.NotSet)]
public UploadControlUploadStorage UploadStorage { get; set; }
vb
<DefaultValue(UploadControlUploadStorage.NotSet)>
Public Property UploadStorage As UploadControlUploadStorage

Property Value

TypeDefaultDescription
UploadControlUploadStorageNotSet

One of the UploadControlUploadStorage enumeration values.

|

Available values:

NameDescription
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.

StorageAccount Settings
AmazonAmazonSettings
AzureAzureSettings
DropboxDropboxSettings
FileSystemFileSystemSettings
GoogleDriveGoogleDriveSettings
GoogleDrivePersonalGoogleDrivePersonalSettings
OneDriveOneDriveSettings
OneDrivePersonalOneDrivePersonalSettings

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 :

See Also

AmazonSettings

AzureSettings

DropboxSettings

FileSystemSettings

ASPxUploadControl Class

ASPxUploadControl Members

DevExpress.Web Namespace