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.v24.2.dll
Declaration
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:
Library | Object Type | Path to ObjectKeyPrefix |
---|---|---|
ASP.NET MVC Extensions | UploadControlBinderSettings |
|
HtmlEditorFileSaveSettings |
|
|
UploadControlSettings |
|
|
ASP.NET Web Forms Controls | ASPxHtmlEditorUploadSettingsBase |
|
ASPxUploadControl |
|
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