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

[Solved] Filtering using DropDownList

7 Answers 187 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marta
Top achievements
Rank 1
Marta asked on 21 Feb 2012, 10:47 AM
Is it possible to have DropDownList instead of standard filter like strart with, equal etc.?

7 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 24 Feb 2012, 08:59 AM
Hello Marta,


Basically to achieve it you need to customize your filter area. Please check this code library article for a sample implementation.
I hope this helps.


Regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Alex
Top achievements
Rank 1
answered on 07 Mar 2012, 09:31 PM
Petur,

Can you please add this as a fluent configuration feature.  When configuring a column we could say something like:

columns.Bound(p => p.Category).FilterSelection(ItemList)

where "ItemList" is of type IEnumberable<SelectListItem> or System.Web.Mvc.SelectList.

I think this would be a popular feature!

Thanks.

Alex
0
Petur Subev
Telerik team
answered on 08 Mar 2012, 04:01 PM
Hello Marta,

Thank you for the suggestion. Fortunately such feature is already in our ToDo list a and we plan to implement it the near future. You can keep track of its progress and vote for it here.

All the best,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Alex
Top achievements
Rank 1
answered on 08 Mar 2012, 04:43 PM
Petur,

The RadControls Grid filtering options look awesome!  Can't wait for some of that functionality to make it to MVC Grid!

Alex
0
Hironori
Top achievements
Rank 1
answered on 12 Apr 2012, 02:49 AM
Hello Petur,

I customized the filter in Grid following the sample application you provided and have 2 questions. Can you take a look at them?

1. Is it possible to make one value selected from the beginning in the dropdown filter? (Please look at the 1st sheet of the attachment.)
2. Dropdown list of filter condition is not shown correctly only at the first time opening filter window in the sample application. Could you help us to advise how to solve this? (Please look at the 2st sheet of the attachment.)
0
Hironori
Top achievements
Rank 1
answered on 09 May 2012, 05:13 AM
Hello Petur,

Did you have time to look at questions?
The question is,
 Can we make one value selected from the beginning in the dropdown filter?
(please see attached file.)

I am working with Marta and we need a help in order to implement Grid filtering with default value set in our application.
0
Petur Subev
Telerik team
answered on 09 May 2012, 02:16 PM
Hi Hironori,

On my side using the latest version everything is works correctly. When I apply filters on the server side the filter menu is updated accordingly.
Could you please check if the behavior you described is the same after updating to the latest version?

Kind regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
Marta
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Alex
Top achievements
Rank 1
Hironori
Top achievements
Rank 1
Share this question
or