Skip to main content

HtmlEditorExtension.GetHtml(String, ASPxHtmlEditorHtmlEditingSettings) Method

Returns the HTML markup representing a specific HtmlEditor’s content and allows it to be validated based on the settings related to the HTML editing functionality.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static string GetHtml(
    string name,
    ASPxHtmlEditorHtmlEditingSettings htmlEditingSettings
)

Parameters

Name Type Description
name String

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

htmlEditingSettings ASPxHtmlEditorHtmlEditingSettings

A ASPxHtmlEditorHtmlEditingSettings object that contains settings related to the specified editor’s HTML editing functionality.

Returns

Type Description
String

A string value representing the editor’s HTML markup.

See Also