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

Using collection to condition a value

1 Answer 5 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
ENTERPRISE INTERNATIONAL SAS asked on 29 Oct 2012, 04:20 PM
Hi, using telerik reports I would like to apply following logical condition:

= IIf(Fields.MAESTROT.BLINVEHIS.Where(c => c.CA007 == 'A').Count() > 0, 'SI X', 'SI')

How can I do to do this?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Nov 2012, 10:18 AM
Hi Ramiro,

Our expression engine does not support advanced language constructs like lambda expressions. Also no extension method can be resolved. However you can accomplish your requirement if you add an user function to retrieve the specified collection values.

All the best,
Peter
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or