Customize filter operators for DataFilter control

2 posts, 1 answers
  1. T
    T avatar
    2 posts
    Member since:
    Aug 2014

    Posted 18 Aug 2014 Link to this post


    We are considering whether to buy the WPF Telerik controls. However we have some difficulties to customize the data filter operators for DataFilter control.
    For example, if i would like to only display IsEqualTo or NotEqualTo as operator selection only, what should i do? 

    Also, we have custom data type that might need to use a custom filter operator list. Can we pass in our own set of operator to the control? For example, some property like OperatorSource = {Binding OperatorList}?

    Hope to hear from you soon.

    Thank you.
  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 19 Aug 2014 Link to this post


    RadDataFilter has an event called FilterOperatorsLoading. You could remove some of the available operators through the AvailableOperators property of the event arguments once it is raised.

    As to your second query, you cannot specify your own operators list.

    I hope this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft banner
Back to Top