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

GenericFilterDescriptor to ignore case

1 Answer 32 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
dtc
Top achievements
Rank 1
dtc asked on 20 Mar 2014, 02:55 AM
Greetings,

I have a jumplist that i want filtered by a text box as the user enters information.  Using the a simple string list I was hoping I could use the code below to filter and ignore case.  It doesn't seem to like the StringComparer for some reason.   

GenericFilterDescriptor<string> filterByText = new GenericFilterDescriptor<string>(days => days.Contains(txtFilter.Text,StringComparer.InvariantCultureIgnoreCase))


Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 24 Mar 2014, 11:14 AM
Hi Doug,

Thanks for writing.

Based on the code snippet you are sharing I cannot exactly say what goes wrong on your side.

Is it possible that you attach a sample project in a ZIP archive and send it to us for further investigation?

Regards,
Deyan
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
JumpList
Asked by
dtc
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or