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

[Solved] persist sorting

1 Answer 129 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sf
Top achievements
Rank 1
sf asked on 04 Mar 2010, 06:02 AM
I have a linkbutton, when it is clicked i assign an objectdatasource to my RadGrid. I also assign the same objectdatasource to the same RadGrid in OnNeedDataSource event. At runtime when I click on a column name in the RadGrid the arrow changes to point up and down but the actual values are not sorted. Is the sorting lost somehow or the sorting never worked?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Mar 2010, 11:16 AM
Hello,

If you use advanced binding with NeedDataSource event handling as illustrated below:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/needdatasource/defaultcs.aspx

The sorting feature should work as expected. Please compare your implementations with those and outline the differences as they can lead us to the source of the issue.

Regards,
Pavlina
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.
Tags
Grid
Asked by
sf
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or