Skip to main content

HtmlEditorExtension.SaveUploadedFile(HtmlEditorFileSaveSettings, UploadControlValidationSettings, FileSavingEventHandler) Method

Saves a file uploaded using a specific HtmlEditor’s File Selector dialog.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void SaveUploadedFile(
    HtmlEditorFileSaveSettings fileSaveSettings,
    UploadControlValidationSettings validationSettings,
    FileSavingEventHandler onFileUploadComplete
)

Parameters

Name Type Description
fileSaveSettings HtmlEditorFileSaveSettings

An HtmlEditorFileSaveSettings object related to saving an uploaded file to the file storage.

validationSettings UploadControlValidationSettings

A UploadControlValidationSettings object containing settings that relate to uploaded file validation.

onFileUploadComplete FileSavingEventHandler

A delegate method that will handle the event that allows you to process an uploaded audio file before it is saved to the server.

See Also