FileManagerDetailsViewCustomColumnDisplayTextEventArgs.EncodeHtml Property
Gets or sets a value that specifies whether the column display text keeps any of its values that are HTML as HTML, or instead, strips out the HTML markers.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
If the EncodeHtml property is set to true
, the FileManagerDetailsViewCustomColumnDisplayTextEventArgs.DisplayText argument property value that contains HTML code is parsed, so that any angle bracket (the characters < and >) of HTML tags is converted to specific symbols (< and >) when the grid renders its value to the page. This allows the HTML code to be displayed on the page as text.
If this property is set to false
, the content of the FileManagerDetailsViewCustomColumnDisplayTextEventArgs.DisplayText argument property value that contains HTML tags is not specifically parsed, and is rendered as pure HTML markup. This allows the result of the HTML code to be displayed within the grid.
Note
Refer to the following topics to learn more about custom columns in the file manager’s Details view mode and DevExpress ASP.NET controls encoding.