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

Filter calculated expressions?

4 Answers 54 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 03 Feb 2012, 10:12 PM
Is it possible to use the RadFilter with calculated expressions other than the basic
[field] [compare-op] [value]
?

I'm looking for things such as you'd see in other database expression builders, such as 
[Signature Date] > Today()-60
to see signatures done in the last sixty days, or
[BoltThread] = [NutThread]
to compare two fields.

Those are just two very simple cases, but there's certainly thousands more possibilities.

4 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 08 Feb 2012, 03:50 PM
Hello Joel,

I am afraid that the desired functionality cannot be implemented with the RadFilter control.
Its main functionality is to filter data-bound controls and data-source controls and not to behave as an expression builder which it is not.

Please excuse us for the inconvenience caused.

Kind regards,
Mira
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Tom Rasmussen
Top achievements
Rank 1
answered on 17 Aug 2012, 05:23 PM
Does Telerik have any plans to implement an expression builder?  It seems like the RadFilter is 90% of the way there and that simply adding 1) the ability to compare field to field and 2) the ability to compare dates to dynamic placeholders such as today, current month, previous month, previous X days, etc. would be all that is necessary.
0
Tsvetina
Telerik team
answered on 22 Aug 2012, 01:02 PM
Hello Tom,

As of current, we do not have such feature/component planned for implementation. You could submit a Feature Request through our support system. This way it will be considered by our developement team, and if it is regularly requested - added to the planning for a future release.

Regards,
Tsvetina
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
Tom Rasmussen
Top achievements
Rank 1
answered on 22 Aug 2012, 04:26 PM
Thank you.
Tags
Filter
Asked by
Joel
Top achievements
Rank 1
Answers by
Mira
Telerik team
Tom Rasmussen
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or