Support & Learning
Application Development and Deployment
Data Connectivity and Integration
Web Content Management
Get A Free Trial
close mobile menu
Community Forums Forum
Getting started with ASP.NET
Ragrid Custom Paging & Filtering
Feed for this thread
1 posts, 0 answers
Posted 16 Apr 2012
Link to this post
I'm trying to get custom paging and filtering working without using the asp.net markup data sources (every Telerik example I've seen uses these).
I'm binding the data source in the OnNeed data source event where I use RadGrid_EditData.MasterTableView.FilterExpression to get the complete filter expression in this kind of form:
"(iif(SourceTable == null, \"\", SourceTable).ToString() = \"Contact\") AND (Clear = True)"
I need to parse this to produce an SQL statement. Is there an easier way to get the filter expressions (there could be more than one).
The examples I've seen use the ItemCommand event to grab the last changed filter, but I need to get all filter expressions in the NeedDatasource event.
Back to Top