Back to Devexpress

ASPxListBox.EncodeHtml Property

aspnet-devexpress-dot-web-dot-aspxlistbox-d793feb9.md

latest1.4 KB
Original Source

ASPxListBox.EncodeHtml Property

SECURITY-RELATED CONSIDERATIONS

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.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public override bool EncodeHtml { get; set; }
vb
<DefaultValue(True)>
Public Overrides Property EncodeHtml As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to encode editor content and display it as text, false to not encode editor content and render it as HTML markup.

|

See Also

List Box

ASPxListBox Class

ASPxListBox Members

DevExpress.Web Namespace