filterradgridcustom-paging

how can i get the filter text in the NeedDataSource event in a RadGrid with custom paging


I am using custom paging in a RadGrid. It is working fine. But filter is not working as i want. So I thought of writing my own code for filter. But how could i get the filter text and the coloumn for which the filter was applied in the NeedDataSource event.


Solution

  • I got the answer, but I forgot to update here. My bad...

    The answer is: gridObject.MasterTableView.FilterExpression. This grid property has all the filters concatenated as a string. this string contains column headers and the filter applied separated by comma ,. You can split that and work on it.