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

HtmlEditorExtension.SaveUploadedFile(String, UploadControlValidationSettings, String) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveUploadedFile(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