Use Filter and Sort Server Side

2 posts, 0 answers
  1. Rolland
    Rolland avatar
    6 posts
    Member since:
    Sep 2016

    Posted 27 Sep 2016 Link to this post



    I am currently Databinding elements from server side database(DB) to my grid and would like the Filter and Sort to be managed Server side too (Client side is too slow).

    Is there any options available for this ? 


    If no, is there a way to use the filter and sort from Grid to launch my own code using the values to do my own server-side query to my DB and refresh the data ? 

    Thanks for the help.

  2. Eyup
    Eyup avatar
    4017 posts

    Posted 30 Sep 2016 Link to this post

    Hi Rolland,

    You can achieve initial sorting using the following configuration:
    <MasterTableView ...>
            <telerik:GridSortExpression FieldName="ShipName" SortOrder="Descending" />

    As for applying default filter programmatically, please use the FireCommandEvent method as suggested in the following post:

    I hope this will prove helpful.

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top