Skip to main content
A newer version of this page is available. .
Tab

UploadControlAmazonSettings.ObjectKeyPrefix Property

Gets or sets a prefix that should be added to the name of the uploaded file.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string ObjectKeyPrefix { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that is the prefix.

Property Paths

You can access this nested property as listed below:

Show 16 property paths

Remarks

The ObjectKeyPrefix property is used to add the specified prefix to the beginning of the uploaded file name. It helps organize and list uploaded files hierarchically in Amazon cloud storage.

ASPxUploadControl1.AmazonSettings.ObjectKeyPrefix = "folder1/folder2/"

According to the code sample above, if the “test.txt” file is uploaded to Amazon cloud storage, this file will be saved with the name “folder1/folder2/test.txt”.

See Also