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

Not sorting after loading new data.

3 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 22 Jul 2010, 11:10 PM
We are using a custom paging/server side sorting mechanism. When the grid is sorted we send a query to the server to load new data. The data being returned is the correct set of data but it isn't being sorted in the grid. I was hoping to rely on the grid to put it into the proper order once it is returned from the server but it isn't. When I look at the sort descriptors in the GridView the proper ones are set and the header displays the correct sorting but the data is not in the correct order. Any ideas what might cause this? I'm using WCF RIA Services and the grid's ItemsSource is bound to the EntitySet in the Context.

Thanks,
Chris

3 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 23 Jul 2010, 08:17 AM
Hi Chris,

 Could you please open a support ticket and send us your application?

Regards,
Yavor Georgiev
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
0
Chris
Top achievements
Rank 1
answered on 23 Jul 2010, 07:33 PM
I can't really do that. The application is very large and I'm not in a position to send the source code outside of the company. I'm having a hard time reproducing it in a simple example so I will dig into it a little more to see if I can figure out exactly what is happening.

Thanks,
Chris
0
Chris
Top achievements
Rank 1
answered on 23 Jul 2010, 11:53 PM
OK, I was able to reproduce it by binding the column to a property of child object. I opened a support case and attached a sample solution.

Thanks,
Chris
Tags
GridView
Asked by
Chris
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or