This is a migrated thread and some comments may be shown as answers.

[Solved] Custom Filter + Serverside filter

1 Answer 178 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aernout
Top achievements
Rank 1
Aernout asked on 23 Sep 2011, 10:00 AM
i want to use the filtering of the radgrid and perform the filter query on the server instead of on doing it on the client. I'm able to make a query to send it to the server. doing this by listening to the collectionchanged event of the fitlerdescriptor collection on the grid but is there a way to disable the clientside filtering too?

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 23 Sep 2011, 12:29 PM
Hi Aernout,

One way would be to use RadDomainDataSource. The filtering will be performed on the server first. While it is true that there will be client-side filtering as well, since the filtered data coming from the server exactly matches the filter it will not really matter, i.e. they will be exactly the same. The client-side filtering needs to be "there" for the purposes of valid UI, i.e. you will be able to see filtering funnels lit up and all the selected values inside the filtering control and so on.

The only way to totally bypass client-side filtering and do it directly on the server would be to build your own filtering control like I have demonstrated in my blog post here.

I hope this helps.

Greetings,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Aernout
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or