I have just downloaded the RadControls_for_WPF35_2010_3_1018_Dev Beta. In this version the GridViewSortingEventArgs.SortPropertyName is marked as obsolete. My question is what we should use now when we are doing custom sorting?
1 Answer, 1 is accepted
answered on 28 Oct 2010, 11:01 AM
Our intention is to introduce a more complex sorting mechanism in RadGridView - sort by a Linq Expression, a lambda function, calculated column etc., not only the value of a property. This is why I advise you to tweak your logic to work with the column directly. You can get the member name from any descendant of GridViewBoundColumnBase by calling its GetDataMemberName extension method. SortPropertyName will still work, until removed completely next year, but will be blank when sorting the new GridViewCalculatedColumn.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items