4 Answers, 1 is accepted
0
Hello,
Does it work for you?
Regards,
Didie
the Telerik team
You could attach to the RadDataFilter.FilterDescriptors.PropertyChanged event similar to:
this
.radDataFilter1.FilterDescriptors.PropertyChanged +=
new
PropertyChangedEventHandler(FilterDescriptors_PropertyChanged);
void
FilterDescriptors_PropertyChanged(
object
sender, PropertyChangedEventArgs e)
{
if
(e.PropertyName ==
"LogicalOperator"
)
{
// I am no sure what you will do here though...
}
}
Regards,
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Shankar
Top achievements
Rank 1
answered on 09 May 2013, 05:58 PM
Thank you Didie, this works fine at the root level.
However this is being fired only when the Logical Operator at the root level is being changed, and not for the subsequent ones. Do I have to recursively handle property changed? Why is it not Notifying despite being an ObservableCollection?
However this is being fired only when the Logical Operator at the root level is being changed, and not for the subsequent ones. Do I have to recursively handle property changed? Why is it not Notifying despite being an ObservableCollection?
0
Accepted
Hello,
Greetings,
Didie
the Telerik team
In that case you should subscribe for the ItemChanged event, for example:
void
FilterDescriptors_ItemChanged(
object
sender, ItemChangedEventArgs<IFilterDescriptor> e)
{
if
(e.PropertyName ==
"LogicalOperator"
)
{
// do your stuff
}
}
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Shankar
Top achievements
Rank 1
answered on 14 May 2013, 06:34 AM
@Didie, that worked, thanks!