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

Fire Event on Filter Select

1 Answer 54 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 24 Oct 2011, 03:52 PM
Hi,
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?

Thanks,
Sean

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 26 Oct 2011, 08:32 AM
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.

Regards,
Ross
the Telerik team

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

Tags
DataFilter
Asked by
Sean
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or