Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Web

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.

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