HtmlEditorExtension.GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, EventHandler<HtmlEditorValidationEventArgs>, out Boolean) Method
Returns the HTML markup specifying a specific HtmlEditor’s content, validated based on the passed editing settings, validation settings and custom validation logic; and indicates whether the editor content is valid.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static string GetHtml(
string name,
ASPxHtmlEditorHtmlEditingSettings htmlEditingSettings,
HtmlEditorValidationSettings validationSettings,
EventHandler<HtmlEditorValidationEventArgs> validationDelegate,
out bool isValid
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A string value that specifies the Html |
html |
ASPx |
A ASPx |
validation |
Html |
A Html |
validation |
Event |
A delegate method that implements custom validation logic. |
is |
Boolean | true if the editor content is valid; otherwise, false. |
#Returns
Type | Description |
---|---|
String | A string value specifying the editor’s HTML markup. |