TreeListSettingsBehavior.EncodeErrorHtml Property
Specifies whether the tree list keeps its error row content that is HTML as HTML, or instead, strips out the HTML markers.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v22.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EncodeErrorHtml |
---|---|
ASPxTreeList |
|
Remarks
The grid automatically parses the error row content so that any HTML code is converted to text. To render the error text as pure HTML markup, set the EncodeErrorHtml property to false
.
Web Forms:
<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" ...>
...
<SettingsBehavior EncodeErrorHtml="false" />
</dx:ASPxTreeList>
MVC:
@Html.DevExpress().TreeList(settings => {
settings.Name = "TreeList";
settings.SettingsBehavior.EncodeErrorHtml = false;
...
}).GetHtml()
Concept
See Also