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

UploadControlUploadStorageSettingsBase.GenerateUniqueFileNamePrefix Property

Specifies whether the name of the file saved to the specified upload storage should contain unique file name prefix.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(true)]
public bool GenerateUniqueFileNamePrefix { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if the file name should contain unique file name prefix; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 16 property paths
Library Object Type Path to GenerateUniqueFileNamePrefix
ASP.NET Controls and MVC Extensions ASPxHtmlEditorAudioUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
ASPxHtmlEditorFlashUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
ASPxHtmlEditorImageUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
ASPxHtmlEditorUploadControl
.OneDriveSettings.GenerateUniqueFileNamePrefix
ASPxHtmlEditorUploadSettingsBase
.DropboxSettings.GenerateUniqueFileNamePrefix
ASPxHtmlEditorVideoUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
ASPxUploadControl
.OneDriveSettings.GenerateUniqueFileNamePrefix
UploadControlBinderSettings
.OneDriveSettings.GenerateUniqueFileNamePrefix
HtmlEditorFileSaveSettings
.FileSystemSettings.GenerateUniqueFileNamePrefix
MVCxHtmlEditorAudioUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
MVCxHtmlEditorFlashUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
MVCxHtmlEditorImageUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
MVCxHtmlEditorVideoUploadSettings
.DropboxSettings.GenerateUniqueFileNamePrefix
MVCxUploadControl
.OneDriveSettings.GenerateUniqueFileNamePrefix
UploadControlSettings
.OneDriveSettings.GenerateUniqueFileNamePrefix
ASP.NET Bootstrap Controls BootstrapUploadControl
.OneDriveSettings.GenerateUniqueFileNamePrefix

Remarks

To specify a custom name for the uploaded file, use the ASPxUploadControl.GenerateFileNameInStorage event.

Note

The GenerateUniqueFileNamePrefix property is not in effect if the ASPxUploadControl.GenerateFileNameInStorage event is handled.

See Also