Skip to main content
A newer version of this page is available. .

HtmlEditorExtension.SaveUploadedImage(String, UploadControlValidationSettings, 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 and upload folder path).

Namespace: DevExpress.Web.Mvc

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

Declaration

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

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.

uploadImageFolder String

A string value specifying the upload folder path.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveUploadedImage(String, UploadControlValidationSettings, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also