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

RadGrid and RadFilter - Adding filter expressions programmatically

1 Answer 69 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Petter
Top achievements
Rank 1
Petter asked on 17 Mar 2010, 02:26 PM

Hello!


I’m working on a RadGrid based solution using filtering with the well described drop-down list column template. This works fine. I now want to add extra filtering functionality where extra filter criteria will be selected from keywords in drop-downs outside the grid (views in a way). These expressions will have to be added to the ones from the drop-downs in the grid.


I could achieve this by using a hidden RadFilter control, programmatically populating the control with the filter expressions from the drop-downs both outside and inside the grid but I can’t find any description of how to do this.


So, is this achievable at all?

 

Kind regards

Petter Marthinsen

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 19 Mar 2010, 12:45 PM
Hello Petter,

I am not quite sure that RadFilter control will fit your needs for the particular scenario.
Unfortunately I am not quite sure that I completely understand it. Once possible way of adding extra filter criteria will be to have ControlParameters of the DataSourceControl that is used for binding RadGrid.
Thus the additional condition will be appended whenever RadGrid attempts to select fresh data from it's data source.

Regards,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Petter
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or