Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Web


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.


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


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

See Also