aspnet-devexpress-dot-web-dot-aspxformlayout-cfaa1cf2.md
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 control content.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(true)]
public override bool EncodeHtml { get; set; }
<DefaultValue(True)>
Public Overrides Property EncodeHtml As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to encode control content and display it as text, false to not encode control content and render it as HTML markup.
|
The ASPxFormLayout control 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 the control’s content as HTML markup.
See Also