Hi All,
I have created a custom RadFilterDataFieldEditor to manage a specific set of my data. I need to do some additional work in code with any expressions created that are using this Editor (but only when they use a specific operator - Equal To).
Looking at the code, I can't seem to get the expression and the Editor at the same time. If I get to the RadFilterSingleExpressionItem, it has an Editor property that I can see at runtime, but is protected - so I can't access it. The Expression itself doesn't seem to have a link, and if I go in via the FieldEditors property on the RadFilter, I can get the Editors but they don't seem to have a link to the expression.
Basically, I want to do the below (aircoded):
Can anyone point out how to achieve this?
Thanks
Fergal
I have created a custom RadFilterDataFieldEditor to manage a specific set of my data. I need to do some additional work in code with any expressions created that are using this Editor (but only when they use a specific operator - Equal To).
Looking at the code, I can't seem to get the expression and the Editor at the same time. If I get to the RadFilterSingleExpressionItem, it has an Editor property that I can see at runtime, but is protected - so I can't access it. The Expression itself doesn't seem to have a link, and if I go in via the FieldEditors property on the RadFilter, I can get the Editors but they don't seem to have a link to the expression.
Basically, I want to do the below (aircoded):
If
typeof(Editor) is MyCustomEditor and expression.FilterFunction = EqualTo
Then
'Do Custom Work
End
If
Can anyone point out how to achieve this?
Thanks
Fergal