I have a RadGrid populated by an ICollection of objects ("Contacts"). Each contact contains several sub-objects, such as a Customer, Person, etc. The RadGrid displays, among other things, properties of these sub-objects (Customer.Name, Person.FullName, etc.) in TemplateColumns, but for some reason setting the SortExpression to the sub-object's property leads to the following ASP.NET error:
"Cannot find column Person.FullName."
Is there a way (other than making Person.FullName a direct property of the main object) to sort on properties of sub-objects? Am I just missing it? And if not, why not?
Thanks in advance.
"Cannot find column Person.FullName."
Is there a way (other than making Person.FullName a direct property of the main object) to sort on properties of sub-objects? Am I just missing it? And if not, why not?
Thanks in advance.