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

Issue after upgrading to RadGrid - Sorting and Pagination not working properly

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Santhosh Kumar
Top achievements
Rank 1
Santhosh Kumar asked on 26 Dec 2016, 11:36 AM

Hi,

We have upgraded our existing .NET application from .NET 2.0 to .NET 4.5.2. As part of this upgrade, we have upgraded the Telerik controls as well. The Grid which is upgraded, ie the RadGrid has the following features which are not working as earlier.

1. The sorting is not working  properly. The records are getting sorted only in ascending order, descending order sorting is not working at all. Even while sorted in ascending order, when moved to the next page, the sorting is not getting applied. If I click on the column header for sorting, it moves to the first page and shows those records alone as sorted.

2. Pagination is not working properly. When the next page button is clicked, it moves only till second page. After that, how many ever times, the next page is clicked, it remains  in second page only. Where if i select on a particular page, say 4, it moves to the fourth page correctly. If i click next page after that, it again moves back to the second page and stays there.

Requesting suggestions to fix this issue at the earliest. Let me know if you require any further details.

P.S: I have implemented NeedDataSource event handler as well for binding the data already.

Regards,

Santhosh.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 27 Dec 2016, 01:05 PM
Hello Santhosh,

Such problem can be observed if you are calling explicitly the Rebind or DataBind methods of the grid or if you are mixing Simple Data-Binding with Advanced Data-Binding. You can also ensure that the ViewState is enabled. 

If further assistance is needed, please open regular support ticket with a sample project replicating the issue, so we can debug it locally.


Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Santhosh Kumar
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or