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

UploadControlAzureSettings.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
Library Object Type Path to ObjectKeyPrefix
ASP.NET Controls and MVC Extensions ASPxHtmlEditorAudioUploadSettings
.AzureSettings .ObjectKeyPrefix
ASPxHtmlEditorFlashUploadSettings
.AzureSettings .ObjectKeyPrefix
ASPxHtmlEditorImageUploadSettings
.AzureSettings .ObjectKeyPrefix
ASPxHtmlEditorUploadControl
.AzureSettings .ObjectKeyPrefix
ASPxHtmlEditorUploadSettingsBase
.AzureSettings .ObjectKeyPrefix
ASPxHtmlEditorVideoUploadSettings
.AzureSettings .ObjectKeyPrefix
ASPxUploadControl
.AzureSettings .ObjectKeyPrefix
ASP.NET Bootstrap Controls BootstrapUploadControl
.AzureSettings .ObjectKeyPrefix
ASP.NET MVC Extensions UploadControlBinderSettings
.AzureSettings .ObjectKeyPrefix
HtmlEditorFileSaveSettings
.AzureSettings .ObjectKeyPrefix
MVCxHtmlEditorAudioUploadSettings
.AzureSettings .ObjectKeyPrefix
MVCxHtmlEditorFlashUploadSettings
.AzureSettings .ObjectKeyPrefix
MVCxHtmlEditorImageUploadSettings
.AzureSettings .ObjectKeyPrefix
MVCxHtmlEditorVideoUploadSettings
.AzureSettings .ObjectKeyPrefix
MVCxUploadControl
.AzureSettings .ObjectKeyPrefix
UploadControlSettings
.AzureSettings .ObjectKeyPrefix

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 Azure cloud storage.

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

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

See Also