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

Search example using CustomFilterDescriptor.cs

1 Answer 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 14 Nov 2009, 08:55 PM
Hi..
How can you change the code so the Filter works on 'STARTS WITH' ?
Instead of looking for an exact match.
Thanks again

1 Answer, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 14 Nov 2009, 09:53 PM

nevermind...I found it...

 

 

return dataType == typeof(string) ? FilterOperator.StartsWith : FilterOperator.IsEqualTo;

 

Tags
GridView
Asked by
Jon
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Share this question
or