Skip to main content

UploadControlSettings.GenerateFileNameInStorage Property

Allows you to specify a custom file name for the uploaded file.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public EventHandler<GenerateFileNameInStorageEventArgs> GenerateFileNameInStorage { get; set; }

Property Value

Type Description
EventHandler<GenerateFileNameInStorageEventArgs>

A EventHandler<TEventArgs><GenerateFileNameInStorageEventArgs,> delegate method allowing you to implement custom processing.

Remarks

To use the GenerateFileNameInStorage property you should declare the Upload Control in a partial view.

See Also