Is it possible to use a LINQ extension method within an ASP.NET databinding expression?
Within a GridView that is bound to a Customer collection which in-turn has a related Phones collection the following Eval expression fails:
<%# Eval("Phones.Single(p => p.PhoneTypeId == 2)") %>
The error message I receive is: 'First(p => p' is not a valid indexed expression
Is this possible to use the LINQ extension method operations within a binding expression?