Hi,
We're using a standard RadTreeListView and want to avail of the virtualization feature so have left the EnableRowVirtualization to default to true. The control is bound to a CollectionViewSource (I've tried just binding to a standard collection but it makes no difference) It all behaves fine and displays the data correctly in the tree until we try to scroll vertically at which point it throws a null ref exception:
"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.ReleaseContainersOutsideViewport(Rows rows, Int32 rowCount)"
The file version of the assembly we have is 2013.2.724.1050
If i hardcode the width and height of the control to a fixed value it behaves fine. I tired just binding the width and height to the parent but it doesn't work either. Doing the same from code behind using SizeChanged also made no difference.
If I set EnableRowVirtualization to false we get another null reference, this time straightaway on load from a different place:
"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.MeasureOverride(Size availableSize)"
Is this a known issue?
We're using a standard RadTreeListView and want to avail of the virtualization feature so have left the EnableRowVirtualization to default to true. The control is bound to a CollectionViewSource (I've tried just binding to a standard collection but it makes no difference) It all behaves fine and displays the data correctly in the tree until we try to scroll vertically at which point it throws a null ref exception:
"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.ReleaseContainersOutsideViewport(Rows rows, Int32 rowCount)"
The file version of the assembly we have is 2013.2.724.1050
If i hardcode the width and height of the control to a fixed value it behaves fine. I tired just binding the width and height to the parent but it doesn't work either. Doing the same from code behind using SizeChanged also made no difference.
If I set EnableRowVirtualization to false we get another null reference, this time straightaway on load from a different place:
"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.MeasureOverride(Size availableSize)"
Is this a known issue?