Hi,
i've got a strange behavior when i try to remove a filter by using RadDataFilter's UI remove button (red cross).
Whenever i remove any CompositeFilter other than the root Filter, i've got the following exception.
System.NullReferenceException wurde nicht von Benutzercode behandelt.
HResult=-2147467261
Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source=Telerik.Windows.Controls.Data
StackTrace:
bei Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.get_LogicalOperator() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataFilter\CompositeFilterViewModel.cs:Zeile 47.
InnerException:
I am using the 2013 Q1 SP1 controls. RadDataFilter is used in "unbound" mode.
The source property ist bound an IEnumrable<T> and AutoGenerateItemPropertyDefinitions is set to true.
The IEnumrable<T> has no items at all. It's only for auto generating the property definitions.
Even if i set no source property on RadDataFilter the above exception is thrown.
My RadDataFilter sits inside a Grid, the Grid itself is hosted by a UserControl which gets injected by Prism Region Manager.
When i use RadDataFilter directly on a Window without any Prism Regions Stuff then there seems to be no problem !?
Kind Regards
Kim
i've got a strange behavior when i try to remove a filter by using RadDataFilter's UI remove button (red cross).
Whenever i remove any CompositeFilter other than the root Filter, i've got the following exception.
System.NullReferenceException wurde nicht von Benutzercode behandelt.
HResult=-2147467261
Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source=Telerik.Windows.Controls.Data
StackTrace:
bei Telerik.Windows.Controls.Data.DataFilter.CompositeFilterViewModel.get_LogicalOperator() in c:\TB\221\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataFilter\CompositeFilterViewModel.cs:Zeile 47.
InnerException:
I am using the 2013 Q1 SP1 controls. RadDataFilter is used in "unbound" mode.
The source property ist bound an IEnumrable<T> and AutoGenerateItemPropertyDefinitions is set to true.
The IEnumrable<T> has no items at all. It's only for auto generating the property definitions.
Even if i set no source property on RadDataFilter the above exception is thrown.
My RadDataFilter sits inside a Grid, the Grid itself is hosted by a UserControl which gets injected by Prism Region Manager.
When i use RadDataFilter directly on a Window without any Prism Regions Stuff then there seems to be no problem !?
Kind Regards
Kim