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

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

Namespace: DevExpress.Web.Mvc

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

Declaration

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

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.

filesUploadCompleteDelegate EventHandler<FilesUploadCompleteEventArgs>

A delegate method that implements custom validation of all uploaded files.

Returns

Type Description
UploadedFile[]

An array of UploadedFile objects that are uploaded files.

See Also