ASPxGridBehaviorSettings.EncodeErrorHtml Property
Gets or sets whether the control keeps its error row content that is HTML as HTML, or instead, strips out the HTML markers.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true if the HTML code contained within the row errors is not executed and is converted into the corresponding text for display purposes; false if the row errors can contain pure HTML code. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to EncodeErrorHtml |
---|---|---|
ASP.NET Bootstrap Controls | BootstrapCardView |
|
BootstrapGridView |
|
|
ASP.NET Web Forms Controls | ASPxCardView |
|
ASPxGridView |
|
|
ASPxVerticalGrid |
|
|
GridViewProperties |
|
|
CardViewSettings |
|
|
CardViewSettings<CardType> |
|
|
GridViewSettings |
|
|
GridViewSettings<RowType> |
|
|
MVCxCardView |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
|
MVCxVerticalGrid |
|
|
VerticalGridSettings |
|
|
VerticalGridSettings<ColumnType> |
|
Remarks
Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.
ASPxGridView
If the EncodeErrorHtml property is set to true, the error row content 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 row errors. This allows the HTML code to be represented on the page as text:
If this property is set to false, the row errors that contain HTML tags are not specifically parsed and are rendered as pure HTML markup. This allows the result of the HTML code to be displayed in the grid:
Related Links
ASPxCardView
If the EncodeErrorHtml property is set to true, a card error text that contain HTML code is parsed so that any angle bracket (the characters < and >) is converted to specific symbols (< and >) when the grid renders its card errors. This allows the HTML code to be represented on the page as text.
If this property is set to false, the card errors that contain HTML tags are not specifically parsed and are rendered as pure HTML markup. This allows the result of the HTML code to be displayed in the grid.
Related Links
ASPxVerticalGrid
If the EncodeErrorHtml property is set to true, a record error text that contain HTML code is parsed so that any angle bracket (the characters < and >) is converted to specific symbols (< and >) when the grid renders its record errors. This allows the HTML code to be represented on the page as text.
If this property is set to false, the record errors that contain HTML tags are not specifically parsed and are rendered as pure HTML markup. This allows the result of the HTML code to be displayed in the grid.
Related Links
Vertical Grid - Getting Started
Note
The EncodeErrorHtml property has effect only for GridErrorTextKind.RowValidate errors.