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

Declaration

public static void SaveUploadedFile(
    string name,
    UploadControlValidationSettings validationSettings,
    string uploadFolder,
    string fileName
)
Public Shared Sub SaveUploadedFile(
    name As String,
    validationSettings As UploadControlValidationSettings,
    uploadFolder As String,
    fileName As String
)

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