ASPxTitleIndex.SoftFiltering Property
Gets or sets whether non-strict filtering is enabled within the ASPxTitleIndex.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
A filtering functionality within the ASPxTitleIndex is realized by using a specific filter box. A string typed within the filter box editor is automatically searched at the beginning of a data item‘s captions. To implement searching at any place in the data item caption, you can use a specific wildcard symbol “*”, which should be added before the search string. Enable the SoftFiltering property to automatically add wildcard symbols to the searched string, and enable non-strict filtering.
Example
This example demonstrates how to use soft filtering (the ASPxTitleIndex.SoftFiltering
property) for the ASPxTitleIndex control.
<dxti:ASPxTitleIndex ID="ASPxTitleIndex1" runat="server"
DataSourceID="XmlDataSource1" SoftFiltering="True">
<IndexPanel Visible="False" />
<FilterBox AutoFocus="True" Delay="500" HorizontalPosition="Left" />
<Columns>
<dxti:Column>
</dxti:Column>
<dxti:Column>
</dxti:Column>
<dxti:Column>
</dxti:Column>
</Columns>
</dxti:ASPxTitleIndex>
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="~/App_Data/Countries Auto Binding.xml"></asp:XmlDataSource>