I want to get the filtered data source after applying filtering using RadFilter. Or alternatively, I want to get the filter expression that I can apply to my original data source to get the filtered results. Please let me know how to do this. Thanks in advance.
What if I want this expression tree to be handled further up in my application (like the data access layer)? I have a custom queryable/provider that allows me to parse expression trees and pull constants to be passed on to a stored procedure. It'd be great if I could tell RadGrid/RadFilter to just pass this on instead of handling it in code behind.
Furthermore, I'm using a DomainDataSource with the RadGrid within my view.
Is this possible?
0
Iana Tsolova
Telerik team
answered on 07 Jun 2011, 09:39 AM
Hello Brian,
If the data source you are using for binding the grid supports filtering itself RadGrid and RadFilter would pass the filter expression to the datasource directly. Thus the filtering would happen at database level. Such DataSource controls are LinqDataSource, EntityDataSource and OpenAccessDataSource controls for instance.