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

CreateFilterExpression called 4 times

1 Answer 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 23 Jul 2013, 02:09 PM
Hello,
I have created a custom filter for the GridView and, when the filter is active, the CreateFilterExpression method on my filter is called 4 times. This is a waste of resources.
Patrick

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 25 Jul 2013, 10:57 AM
Hi,

The filtering expression is re-evaluated when either:

1. The FilterDescriptors collection raises a CollectionChanged event.
2. Something inside a filter in this collection changes and it raises the ItemChanged event.

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Rossen Hristov
Telerik team
Share this question
or