Does anyone have an example of how to get the sort property names from a QueryableCollectionView? I've been looking at the ISortDescriptor.CreateSortKeyExpression method but don't know what to use for the Expression parameter it requires.
2 Answers, 1 is accepted
0
Vlad
Telerik team
answered on 20 Oct 2011, 07:59 AM
Hi Alamb,
Can you post more info about your scenario? Have you tried to cast sort descriptors to ColumnSortDescriptor/SortDescriptor to get desired property?
Best wishes,
Vlad
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I'm trying to use a custom QueryableCollectionView for server-side sorting and paging, so I need the sort properties as strings to pass to the server. I found an sample application in this thread that almost does what I need but it doesn't work with current binaries. Unfortunately it seems that ISortDescriptor doesn't have a Member property, only CreateSortKeyExpression is available.