In the ApplyExpressions event, I need to iterate over the RadFilterApplyExpressionsEventArgs.Expressions collection. It appears that to access specific values of each filter expression (field name, field type, view state, value, etc.), you need to cast each filter expression to its specific derived type. The only property exposed at the RadFilterExpression base type level is FilterFunction.
Basically I'm looking for the best way to iterate over a collection RadFilterExpressions, and access the specific properties of each instance. What makes this a little more complex that you'd expect is that each filter expression is composed of a number derived types - with the filter properties and values exposed by different types in the chain. What's the best way to access the specific filter expression properties?
Can anyone point me to a code example?
Basically I'm looking for the best way to iterate over a collection RadFilterExpressions, and access the specific properties of each instance. What makes this a little more complex that you'd expect is that each filter expression is composed of a number derived types - with the filter properties and values exposed by different types in the chain. What's the best way to access the specific filter expression properties?
Can anyone point me to a code example?