Hi,
I have an IndexOutOfRange error but this occurs rarely and I can't reproduce it. Please could you investigate if a check can be added to avoid IndexOutOfRange
exception?
Acording the stack trace, MeasureVertically seems to call UpdateAverageLength with a bad endIndex.
I use the last published version of Telerik UI for Windows 8.1 (2016.1.113.45)
Index was outside the bounds of the array.
Stack Trace:
System.IndexOutOfRangeException
at Telerik.UI.Xaml.Controls.Grid.IndexStorage.ValueForIndex(Int32 index, Boolean approximate)
at Telerik.Data.Core.Layouts.CompactLayout.UpdateAverageLength(Int32 startIndex, Int32 endIndex)
at Telerik.UI.Xaml.Controls.Grid.NodePool`2.MeasureVertically(RadSize availableSize, Double offset)
at Telerik.UI.Xaml.Controls.Grid.NodePool`2.OnMeasure(RadSize availableSize, Double offset, Int32 frozenElementsCount)
at Telerik.UI.Xaml.Controls.Grid.Model.GridModel.MeasureCells(RadSize newAvailableSize)
at Telerik.UI.Xaml.Controls.Grid.RadDataGrid.OnCellsPanelMeasure(RadSize newAvailableSize)
at Telerik.UI.Xaml.Controls.Grid.Primitives.DataGridCellsPanel.MeasureOverride(Size availableSize)