This question is locked. New answers and comments are not allowed.
There is a bug in this method (ColumnGroupDescriptor.CreateGroupSortExpression), where by it attempts to create the Expression "o.Key" instead of "o.XXX" (where XXX is the property name)
e.g. If I wanted to sort by MyEntity.Value, instead of creating an expression of "o.Value", it will attempt to create "o.Key"
*edit* I was suppose to title this post as GroupDescriptorBase.CreateGroupSortExpression (not ColumnGroupDescriptor) but I can not edit the title.
--------
Instance property 'Key' is not defined for type 'xxxxxx (type name)'
at System.Linq.Expressions.Expression.Property(Expression expression, String propertyName)
at Telerik.Windows.Data.GroupDescriptorBase.CreateGroupSortExpression(Expression groupingExpression)
---------
Class:
Telerik.Windows.Controls.GridView.ColumnGroupDescriptor, Telerik.Windows.Controls.GridView, Version=2012.1.326.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7
Method
Expression CreateGroupSortExpression(Expression expression);
e.g. If I wanted to sort by MyEntity.Value, instead of creating an expression of "o.Value", it will attempt to create "o.Key"
*edit* I was suppose to title this post as GroupDescriptorBase.CreateGroupSortExpression (not ColumnGroupDescriptor) but I can not edit the title.
--------
Instance property 'Key' is not defined for type 'xxxxxx (type name)'
at System.Linq.Expressions.Expression.Property(Expression expression, String propertyName)
at Telerik.Windows.Data.GroupDescriptorBase.CreateGroupSortExpression(Expression groupingExpression)
---------
Class:
Telerik.Windows.Controls.GridView.ColumnGroupDescriptor, Telerik.Windows.Controls.GridView, Version=2012.1.326.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7
Method
Expression CreateGroupSortExpression(Expression expression);