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

[Solved] Insensitive accent filtering

5 Answers 339 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jocelyn
Top achievements
Rank 1
Jocelyn asked on 28 Jan 2013, 04:21 PM
Hi!

I wanted to know how I can make insensitive accent filtering ?

Example:

"Men" should find "Ménard"

How can I achieve this?

Thanks.

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Jan 2013, 06:19 AM
Hi,

Please check this forum thread which discuss the same.

Thanks,
Shinu.
0
Jocelyn
Top achievements
Rank 1
answered on 25 Feb 2013, 03:09 PM
Hi Shinu,

this thread is from 2008. Is there a better way to do this today? I have more than 20 grids in my application, so I think this solution is not the best one for me.

Thanks.
0
Eyup
Telerik team
answered on 28 Feb 2013, 10:41 AM
Hi Jocelyn,

I am afraid the requested functionality is not supported. It will require too much permutations to check: “Operación”, “Operacion”, “Operäcion”, "Operäción”, "Opéräción”, etc. You can implement, however, normalized filtering by using the ItemCommand event, where if the user searches for “Operäcion”, the grid to filter by “Operacion”.

Hope this helps.

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jocelyn
Top achievements
Rank 1
answered on 15 Apr 2013, 02:40 PM
Hi,

Is it possible to use Regex in GridFiltering? So I could filter like "p[eèé]r[eèé]" and type "pere" and find "père".

Thanks!
0
Eyup
Telerik team
answered on 18 Apr 2013, 05:39 AM
Hello Jocelyn,

Please note that this requirement is not an in-built functionality and it is not supported . You can use the ItemCommand event to cancel the original filtering and parse the entered value:
http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx

Then build your custom filter expression:
http://www.telerik.com/help/aspnet-ajax/grid-operate-with-filter-expression-manually.html

Hope this helps.

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Jocelyn
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jocelyn
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or