Preserve Custom Sorting on Paging, Filtering or Other Rebinding Action

1 posts, 0 answers
  1. Attila Antal
    Attila Antal avatar
    571 posts

    Posted 22 Aug 2018 Link to this post


    Telerik Product and Version


    Supported Browsers and Platforms

    All browsers supported by Telerik UI for ASP .NET AJAX

    Programming language

    JavaScript, C#


    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.