Overridding Telerik.Windows.Controls.GridView.FilteringControl's behavior

3 posts, 1 answers
  1. Rashad Rivera
    Rashad Rivera avatar
    63 posts
    Member since:
    Aug 2009

    Posted 29 Mar 2011 Link to this post

    Hello All,

       I like the way the default control in RadGridView works - AKA Telerik.Windows.Controls.GridView.FilteringControl.  However, I want to change one behavior; the application of the filter.  Basicly, I want to intercept the filter specified by the user and interpret it myself.  This way I can customize the behavior and keep the look and feel.  Can anyone advise me how to do this?

    - Rashad Rivera
  2. Answer
    Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 31 Mar 2011 Link to this post

    Hello Rashad Rivera,

    I am not sure what do you mean by interpretting the filtering yourself, but you can attach to the Filtering event and read the filtering information. But if you cancel this event -- you will lose the UI.

    The cleaner approach would be to develop your own custom filtering control where you will have absolute power over what is going on and how is filtering performed.

    Regards,
    Ross
    the Telerik team
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rashad Rivera
    Rashad Rivera avatar
    63 posts
    Member since:
    Aug 2009

    Posted 30 Apr 2011 Link to this post

    It would be much better to inherit from your control because yours has a better starting point.  Unless this control is sealed, in which I have no choice but to write my own.
Back to Top