Filter controls outside of GridView

8 posts, 1 answers
  1. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 15 Mar 2015 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 16 Mar 2015 Link to this post

    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.

     
  3. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 16 Mar 2015 in reply to Dimitrina Link to this post

    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
  4. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 17 Mar 2015 in reply to Dimitrina Link to this post

    Hi Dimitrina,
    I've tried the demo, but it didn't work, could you please provide a runnable project? Thanks.
  5. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Mar 2015 Link to this post

    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.

     
  6. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 18 Mar 2015 in reply to Dimitrina Link to this post

    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
  7. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 19 Mar 2015 in reply to Dimitrina Link to this post

    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
  8. Jackey
    Jackey avatar
    71 posts
    Member since:
    Oct 2014

    Posted 19 Mar 2015 in reply to Dimitrina Link to this post

    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!
Back to Top