Fire Event on Filter Select

2 posts, 0 answers
  1. Sean
    Sean avatar
    7 posts
    Member since:
    Mar 2009

    Posted 24 Oct 2011 Link to this post

    I am trying to find an event that fires when a filter is selected. If you take a look at the screenshot attached, I have a few filters bound to the control. When I select the "Year To Date Amount" filter (or when an amount is filled in) I want to call an event that will open a pop-up window so that the user can enter some additional information about this filter.

    Is there an event fired when a filter is selected that I can take advantage of?

  2. Rossen Hristov
    Rossen Hristov avatar
    2478 posts

    Posted 26 Oct 2011 Link to this post

    Hello Sean,

    Unfortunately, RadDataFilter does not have such events.

    You could attach to RadDataFilter.FilterDescriptors.CollectionChanged and RadDataFilter.FilterDescriptors.ItemChanged and listen for various changes there. Use the debugger to see what is thrown when.

    Basically, ItemChanged will be fired each time when something (Member-Operator-Value) of a filter changes somewhere in the filter tree. But I am not sure whether this will suit your needs.

    I hope this helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top