Skip to main content

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

OBSOLETE

Use the SaveUploadedFile method instead.

Saves a specific HtmlEditor’s uploaded image, based on the passed parameters (the editor name, validation settings, upload folder path and file name).

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

[Obsolete("Use the SaveUploadedFile method instead.")]
public static void SaveUploadedImage(
    string name,
    UploadControlValidationSettings validationSettings,
    string uploadImageFolder,
    string fileName
)

Parameters

Name Type Description
name String

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

validationSettings UploadControlValidationSettings

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

uploadImageFolder String

A string value specifying the upload folder path.

fileName String

A string value specifying the file name.

See Also