Preserve Custom Sorting on Paging, Filtering or Other Rebinding Action

Thread is closed for posting
1 posts, 0 answers
  1. 0FB9D9BC-DE82-4A54-A0D4-6034D3C617C0
    0FB9D9BC-DE82-4A54-A0D4-6034D3C617C0 avatar
    631 posts
    Member since:
    Apr 2022

    Posted 22 Aug 2018 Link to this post

    Requirements

    Telerik Product and Version

    3.5+

    Supported Browsers and Platforms

    All browsers supported by Telerik UI for ASP .NET AJAX

    Programming language

    JavaScript, C#

    PROJECT DESCRIPTION 

    Since RadGrid rebinds the data on Paging, Filtering, etc. as described in Commands that invoke Rebind Implicitly, custom sorting could be lost. There is a simple yet efficient approach to bind the data by using a condition which checks whether sorting was applied and then does the binding according to the sorting criteria.


Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.