Back to Devexpress

ASPxButtonEditBase.EncodeHtml Property

aspnet-devexpress-dot-web-dot-aspxbuttoneditbase-ff1df760.md

latest1.5 KB
Original Source

ASPxButtonEditBase.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 value and 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 value and content and display them as text, false to not encode editor value and content and render them as HTML markup.

|

See Also

ButtonEdit

ASPxButtonEditBase Class

ASPxButtonEditBase Members

DevExpress.Web Namespace