Skip to main content

HtmlEditorExtension.SaveUploadedFile(String, UploadControlValidationSettings, String, String) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public static void SaveUploadedFile(
    string name,
    UploadControlValidationSettings validationSettings,
    string uploadFolder,
    string fileName
)

Parameters

Name Type Description
name String

A string value specifying the HtmlEditor’s name (SettingsBase.Name).

validationSettings UploadControlValidationSettings

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

uploadFolder String

A string value specifying the upload folder path.

fileName String

A string value specifying the file name.

See Also