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

2 posts, 0 answers
  1. Santhosh Kumar
    Santhosh Kumar avatar
    1 posts
    Member since:
    Dec 2016

    Posted 26 Dec 2016 Link to this post

    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.

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 27 Dec 2016 Link to this post

    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.
Back to Top