It's right and this is the big disadvantage of using dynamic types, you can't use LINQ and debug errors, also you haven't IntelliSense in the visual studio.
Not for this specific solution. But I just added another macro and script when i wanted the filtered search. To bad there was no "fast" solution for this. Thanks for trying tho!
WHERE operation with a DynamicNodeList
I got this problem where I want to do this:
But yearFolder is dynamic and therefore I get the following error:
"Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type"
Full Code is below:
Does anyone know a work-around ?
Im using Umbraco 4.11.10
Hi Nicolai,
It's right and this is the big disadvantage of using dynamic types, you can't use LINQ and debug errors, also you haven't IntelliSense in the visual studio.
Can you rewrite this code to strongly typed?
Thanks,
Alex
Hi Nicolai,
Did you solve your problem?
Thanks
Not for this specific solution. But I just added another macro and script when i wanted the filtered search. To bad there was no "fast" solution for this. Thanks for trying tho!
-Nicolai
You are welcome, Nicolai.
Just if you need some great advice - post your code here.
Thanks,
Alex
is working on a reply...