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

Filtering not working

1 Answer 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Software asked on 17 Jul 2008, 03:11 PM

Here's my code for filtering the grid:

FilterExpression
filter = new FilterExpression();
    filter.Predicates.Add(
FilterExpression.BinaryOperation.AND,
    GridKnownFunction.EqualTo,
    
GridFilterCellElement.ParameterName);
filter.Parameters.Add(
GridFilterCellElement.ParameterName, 1);
definesGrid.Columns[
"Configuration_Id"].Filter = filter;

No filtering occurs.

What am I missing.

BTW you really need better documention on your products...

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 18 Jul 2008, 08:27 AM
Hi Eric,

I've tested the grid filtering modifying our Filtering example a bit and I found no problem with the present version. The code I've used for filtering was:

            FilterExpression filter = new FilterExpression(FilterExpression.BinaryOperation.AND,
                GridKnownFunction.EqualTo, GridFilterCellElement.ParameterName);
            filter.Parameters.Add(GridFilterCellElement.ParameterName, "Ber");

            this.radGridView1.Columns["City"].Filter = filter;


Could you, please give me more information about the issue you have or I'll much appreciate it if you could send me simple project demonstrating the exact problem.

I'm looking forward to your reply.

All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Software
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or