HtmlEditorExtension.Import(String, Action<String, IEnumerable<String>>) Method

Imports the editor content from a specific file, based on the provided settings.

Namespace: DevExpress.Web.Mvc

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


public static void Import(
    string filePath,
    Action<string, IEnumerable<string>> onImport


Name Type Description
filePath String

A string value specifying the path to a file whose content should be imported.

onImport Action<String, IEnumerable<String>>

A delegate method to execute after importing the document.

See Also