Filtering on the client side

4 posts, 0 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 27 Jan 2009 Link to this post

    Hello

    Is it possible to change the filter on the client with a script ?

    Actually, my Grid contains more than 300 records, and because they are all loaded on my page (there is no paging on my grid) it takes some time to display it.

    When user wants to have a filter, I think that the  filtered records are send from the server again. So I'm thinking it will speeder to do this in client memory.

    If you have a sample....

    Thanks 
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 29 Jan 2009 Link to this post

    Hi Filleau,

    To see more information on the requested functionality, please refer to the following example.
    I hope this helps.

    All the best,
    Yavor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Crescent
    Crescent avatar
    20 posts
    Member since:
    Jul 2008

    Posted 29 Jan 2009 Link to this post

    @Telerik: your example filters records in the database. What part of "in client memory" did you not get?

    @Filleau: RadGrid cannot filter on the client. You'd have to implement that yourself.

  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 30 Jan 2009 Link to this post

    Hi guys,

    You may consider using declarative client-side binding along with paging/sorting/filtering and shown in this online demo:

    http://demos.telerik.com/aspnet-ajax/grid/examples/client/declarativedatabinding/defaultcs.aspx

    Furthermore, you may want to enable client-side caching to cache the filter expressions as illustrated here.

    Kind regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top