This is a migrated thread and some comments may be shown as answers.

Filter property and ItemTemplate

2 Answers 67 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer asked on 11 Aug 2008, 04:36 PM

Is it possible to use the Filter (='Contains') with a item template?

t seems the filter doesn't work.

Eric

2 Answers, 1 is accepted

Sort by
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 11 Aug 2008, 05:01 PM

Update:

It works when I set the Item.Text and Item.Value correctly in the ItemDataBound event.

Now I need still apply the CSS style to mark the selected chararacters.

0
Veselin Vasilev
Telerik team
answered on 12 Aug 2008, 07:03 AM
Hi EricSch,

I am afraid the matching text portion will not be highlighted (the <EM> element will be not added) when using ItemTemplates.
This is described in the help article: Usability > Filtering

Best wishes,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Eric Schoenholzer
Top achievements
Rank 2
Answers by
Eric Schoenholzer
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Share this question
or