EditPropertiesBase.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 cell values in a column/row..
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Grid-like controls convert service characters (for instance, <
and >
) in cell values to character entity references (<
and >
) and display HTML code as text. Set the EncodeHtml
property to false
to prevent such a convertion and render cell values as HTML markup.
Note
The EncodeHtml
property of a column/row overwrites the editor’s EncodeHTML
property value. However, the editor never encodes text displayed in the edit box.