ASPxMemo.EncodeHtml Property
SECURITY NOTE
Disabling this property may introduce security-related issues. Review the following help topic and learn how to protect websites from cross-site scripting (XSS) attacks: HTML Encoding.
Gets or sets whether to encode editor content.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
The ASPxMemo editor converts service characters (for instance, < and >) in its content to character entity references (< and >) and displays HTML code as text. Set the EncodeHtml property to false to prevent such a convertion and render editor content as HTML markup:
<dx:ASPxMemo ID="memo1" EncodeHtml="False" runat="server" />
Note that the ASPxMemo editor does not encode the input value.
