Skip to main content

TreeListDataCellTemplateContainer.GetTextWithHighlightedSearchFilterResult(Int32) Method

Gets the result of filtering as an HTML markup where a source text (text inputted in the filter) is highlighted for each match.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public string GetTextWithHighlightedSearchFilterResult(
    int maxLength
)

Parameters

Name Type Description
maxLength Int32

An integer value that specifies the maximum length of the received string.

Returns

Type Description
String

A string value that represents filtering results in the HTML markup.

Remarks

Use the GetTextWithHighlightedSearchFilterResult method to receive a filtering result while a filtered column incorporates a template. Note that the result is received as the HTML markup with the highlighted source text for each match.

See Also