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.v21.1.dll


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


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