Ragrid Custom Paging & Filtering

1 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Jul 2011

    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