ASPxCardViewCommandButtonSettings.EncodeHtml Property
SECURITY NOTE
Enable this property to protect your website from cross-site scripting (XSS) attacks. Review the following help topic to learn more: HTML Encoding.
Gets or sets whether to encode command button text strings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to EncodeHtml |
---|---|---|
ASP.NET MVC Extensions | CardViewSettings |
|
ASP.NET Web Forms Controls | ASPxCardView |
|
Remarks
The ASPxCardView
control renders text strings in commands buttons as HTML markup. Set the EncodeHtml
property to true
to convert service characters (for instance, <
and >
) in these strings to character entity references (<
and >
) and display HTML code as text.