If I have a nested ListView, and I\'m calling a related table in LinQ, how do I sort it, without resorting to the ItemDataBound event of the parent?
Pseudo Code (UPDATED
My assumption is that Products is an IEnumerable<Product> (or IQueryable). If that is the case, why not just add the OrderBy method to the evaluation, like so:
IEnumerable<Product>
<%# Eval("Products.OrderBy(p => p.FieldToSortOn)") %>