This is a migrated thread and some comments may be shown as answers.

Telerik RadGrid SortExpressions Empty

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 27 Apr 2012, 01:23 PM
Hello,

I am having an issue with the Telerik RadGrid controls.  The issue I'm having is that when clicking on the header, it's only sorting ascending, even when the grid says its in descending order.  I'm binding the entire results to the RadGrid (not doing custom paging or sorting).  But for some reason, the sorting is not working...

The bigger problem is that when I click on the header, the RadGrid.MasterTableView.SortExpressions collection is empty.  Why is this collection empty?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Apr 2012, 01:32 PM
Hi Brian Mains,

Please make sure that you have bound the RadGrid using Advanced Data Binding(Using NeedDataSource event). All the advanced features like Paging,Sorting etc.. will work properly if you are using NeedDataSource event. Please provide your code to understand the exact issue.

Thanks,
Shinu.
Tags
Grid
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or