Last Updated: 19 Mar 2021 12:37 by ADMIN
Release LIB 2021.1.322 (22/03/2021)

When you remove a filter descriptor via the X button in the UI a NullReferenceException is printed in the Visual Studio Output pane as a data binding error.

System.Windows.Data Error: 17 : Cannot get 'LogicalOperator' value (type 'FilterCompositionLogicalOperator') from 'CompositeFilter' (type 'CompositeFilterViewModel'). BindingExpression:Path=CompositeFilter.LogicalOperator; DataItem='FilterViewModel' (HashCode=15035499); target element is 'RadToggleButton' (Name='PART_CompositeFilterLogicalOperatorToggleButton'); target property is 'IsChecked' (type 'Nullable`1') TargetInvocationException:'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.get_LogicalOperator()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   at MS.Internal.Data.PropertyPathWorker.GetValue(Object item, Int32 level)
   at MS.Internal.Data.PropertyPathWorker.RawValue(Int32 k)'

You can safely ignore the error because it doesn't break the control or the application. In a single case it seemed that this error was causing also an AccessViolationException.

Last Updated: 03 Jul 2018 15:41 by ADMIN
Created by: Rossen Hristov
Comments: 2
Category: DataFilter
Type: Feature Request
IsBetween filter operator
Last Updated: 30 Oct 2017 13:25 by ADMIN
Last Updated: 31 Jan 2017 09:28 by Benjamin
Created by: Benjamin
Comments: 1
Category: DataFilter
Type: Feature Request
Can you add filters for string ?
Do not start with
Do not end with
Is null or white space
Is not null or white space
Last Updated: 13 Jun 2016 12:04 by ADMIN
Created by: Klemens
Comments: 2
Category: DataFilter
Type: Feature Request
a nice feature would be to hide each filteroperator separately. For example from the itempropertydefinition.

Last Updated: 10 Mar 2016 14:24 by Joel Palmer
Created by: Joel Palmer
Comments: 0
Category: DataFilter
Type: Feature Request
Your RadDataFilter is great.  However, your documentation is lacking.  The control is not included in the SDK download and, the examples reference classes that aren't included in the documentation.  Look at the 
"Default Filter Editors" example.  In the example, you reference a behavior in the Example that has no supporting class and no way for me to see it.  Specifically, "Example.xaml":  behavior:MyFilterDescriptorBindingBehavior.FilterDescriptors="{Binding FilterDescriptors, Source={StaticResource model}}"