Skip to main content

UploadControlExtension.GetUploadedFiles(UploadControlSettings, EventHandler<FileUploadCompleteEventArgs>) Method

Returns an array of the files uploaded in UploadControl, and accepts specific parameters.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static UploadedFile[] GetUploadedFiles(
    UploadControlSettings settings,
    EventHandler<FileUploadCompleteEventArgs> fileUploadCompleteDelegate
)

Parameters

Name Type Description
settings UploadControlSettings

An UploadControlSettings object containing UploadControl extension settings.

fileUploadCompleteDelegate EventHandler<FileUploadCompleteEventArgs>

A delegate method that implements custom validation of an uploaded file.

Returns

Type Description
UploadedFile[]

An array of UploadedFile objects that are uploaded files.

See Also