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

Filter controls outside of GridView

7 Answers 218 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jackey
Top achievements
Rank 1
Jackey asked on 15 Mar 2015, 07:32 AM
Hi team,
I've read quite a lot of documentation of GridView, however could not find a tutorial showing how to create a custom filter control outside of GridView, for example, a select control corresponding some specific column. And the select control is under the GridView. It's not part of the GridView. It's an independent control.
How to do that?

Thanks,
-Jingfei

7 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 16 Mar 2015, 09:47 AM
Hello Jingfei,

You can check the Search As You Type WPF Demo as a reference on how to filter from a TextBox outside RadGridView. 

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jackey
Top achievements
Rank 1
answered on 16 Mar 2015, 02:47 PM
Hi Dimitrina,
Thanks for your reply. What if i want to pop up the filter control (the distinct values, the operators etc.) when clicking the outside control? Do I need to implement the filter control from the scratch? Or re-use the filter control?

Thanks,
Jingfei
0
Jackey
Top achievements
Rank 1
answered on 17 Mar 2015, 12:02 PM
Hi Dimitrina,
I've tried the demo, but it didn't work, could you please provide a runnable project? Thanks.
0
Accepted
Dimitrina
Telerik team
answered on 18 Mar 2015, 10:06 AM
Hi,

You can check the following forum thread, Can I use FilteringControl independently?, where a similar topic has been already discussed.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jackey
Top achievements
Rank 1
answered on 18 Mar 2015, 12:46 PM
Hi Dimitrina,
FilteringDropDown is close to what I want. In fact, this link is exactly what I want.  However, it's in ASP.NET. Any solutions in WPF?

Thanks,
Jingfei
0
Jackey
Top achievements
Rank 1
answered on 19 Mar 2015, 06:28 AM
BTW, we know we can remove some field filter operators. And what if i want to remove all of the field filters, just distinct value list is left?

Thanks,
-Jingfei
0
Jackey
Top achievements
Rank 1
answered on 19 Mar 2015, 06:32 AM
Sorry to be a dumb. I found it here 

If you don’t need the field filter part of the filtering control you can hide it by using the ShowFieldFilters property of the column. This property only makes sense when the filtering mode is Popup. For boolean columns, this is false by default since it makes little sense to have field filters for boolean values.

Thanks a lot!
Tags
GridView
Asked by
Jackey
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Jackey
Top achievements
Rank 1
Share this question
or