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

How to enable "Contains" logical operator when filter custom property?

5 Answers 22 Views
This is a migrated thread and some comments may be shown as answers.
King Chan
Top achievements
Rank 1
King Chan asked on 26 Jun 2012, 01:19 PM
Hello Telerik Staff,

I am filtering a custom property whichs contains multiple value, by following this blog I could successfully poplulate custom distinct values and filter by the distinct vlaues, as well as enable the <, <=, >, >= operator for comparsion.
But still, the "Contains", "Begin with" etc logical operators are missing and I would like to implement it into the default filter editor control from Telerik.
Is it possible? If so, how?

Thanks in advance,
King

5 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 26 Jun 2012, 01:26 PM
Hi,

Maybe this blog post can give you a head start.

Greetings,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
King Chan
Top achievements
Rank 1
answered on 26 Jun 2012, 01:41 PM
But that would require to implement a Custom Filter Control.
Our design is to have all column using default Telerik Filter Control, so we don't want to implement single column's Filter Control UI differently.
So other than implement a Custom Filter Control, is it possible for us to implement the filter logic and enable it on the default Telerik Filter Control?
0
Accepted
Rossen Hristov
Telerik team
answered on 26 Jun 2012, 01:43 PM
Hello,

I am afraid that you would have to implement a custom filter control to achieve this custom functionality.

Regards,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
King Chan
Top achievements
Rank 1
answered on 26 Jun 2012, 01:45 PM
Ok, thanks.
0
Rossen Hristov
Telerik team
answered on 26 Jun 2012, 01:45 PM
Hi,

You could take our default XAML and make your custom filtering control look like the stock one. But you will have to implement all the custom code-behind logic because it is custom.

Regards,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Asked by
King Chan
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
King Chan
Top achievements
Rank 1
Share this question
or