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

ASPxMemo.EncodeHtml Property

Specifies whether to render the editor’s element content as pure HTML or to parse the content.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(true)]
public override bool EncodeHtml { get; set; }

Property Value

Type Default Description
Boolean **true**

true to convert the HTML code to specific symbols; otherwise, false.

Remarks

The HtmlEncode property can return the following values:

EncodeHtml property value

Description

True

The editor parses its content, converts HTML tags into specific symbols, and displays this content as text (for example, converts < to &lt;).

text

The editor does not parse its content and displays this content as pure HTML markup (for example, displays <b>test</b> as <b>test</b>).

<dx:ASPxMemo ID="memo1" EncodeHtml="False" />

Note that the ASPxMemo editor does not encodes the input value.

Concept

See Also