Argument out of range exception on orientation change

Thread is closed for posting
4 posts, 0 answers
  1. selom
    selom avatar
    12 posts
    Member since:
    Nov 2010

    Posted 28 Apr 2013 Link to this post

    I can consistenly produce an argument out of range exception when orientation changes on the databoundlistbox on wp7 and wp8. is this a known issue? it's quite a blocker.

    System.ArgumentOutOfRangeException was unhandled
    Parameter name: index
           at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
           at System.ThrowHelper.ThrowArgumentOutOfRangeException()
           at System.Collections.Generic.List`1.get_Item(Int32 index)
           at Telerik.Windows.Controls.StackVirtualizationStrategy.GetTopVisibleContainer()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.GetTopVisibleItem()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.GetIndexOfViewportTopItem()
           at Telerik.Windows.Controls.VirtualizationStrategy.UpdateScrollParams()
           at Telerik.Windows.Controls.StackVirtualizationStrategy.OnContainerSizeChanged(RadVirtualizingDataControlItem container, Size newSize, Size oldSize)
           at Telerik.Windows.Controls.RadVirtualizingDataControl.OnContainerSizeChanged(RadVirtualizingDataControlItem container, Size newSize, Size oldSize)
           at Telerik.Windows.Controls.RadVirtualizingDataControlItem.InvalidateCachedSize(Size newSize)
           at Telerik.Windows.Controls.RadDataBoundListBoxItem.InvalidateCachedSize(Size newSize)
           at Telerik.Windows.Controls.RadVirtualizingDataControlItem.InvalidateCachedSize()
           at Telerik.Windows.Controls.StackVirtualizationStrategy.MeasureContainer(RadVirtualizingDataControlItem container)
           at Telerik.Windows.Controls.StackVirtualizationStrategy.OnViewportSizeChanged(Size newSize, Size oldSize)
           at Telerik.Windows.Controls.RadVirtualizingDataControl.OnSizeChanged(Object sender, SizeChangedEventArgs e)
           at System.Windows.FrameworkElement.OnSizeChanged(Object sender, SizeChangedEventArgs e)
           at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)
           at MS.Internal.XcpImports.UpdateLayoutNative(IntPtr element)
           at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)
           at System.Windows.UIElement.UpdateLayout()
           at Microsoft.Phone.Controls.PhoneApplicationFrame.UpdateOrientationTransform()
           at Microsoft.Phone.Controls.PhoneApplicationFrame.set_LayoutOrientation(PageOrientation value)
           at Microsoft.Phone.Controls.PhoneApplicationFrame.OnBeginLayoutChanged(Object sender, OrientationChangedEventArgs args)
           at System.Windows.Controls.Frame.FireEventHandler[T](EventHandler`1 handler, Object sender, OrientationChangedEventArgs args)
           at Microsoft.Phone.Controls.PhoneApplicationPage.set_LayoutOrientation(PageOrientation value)
           at Microsoft.Phone.Controls.PhoneApplicationPage.OnOrientationChanged(OrientationChangedEventArgs e)
           at Microsoft.Phone.Controls.PhoneApplicationPage.UIOrientationChange(ShellPageOrientation orientation)
           at Microsoft.Phone.Controls.PhoneApplicationPage.ShellPageCallback_OnUIOrientationChange(Object source, UIOrientationChangeEventArgs e)
           at Microsoft.Phone.Shell.Interop.ShellPageCallback.FireOnUIOrientationChange(ShellPageOrientation orientation, Boolean fAnimate)

  2. Deyan
    Deyan avatar
    2147 posts

    Posted 29 Apr 2013 Link to this post

    Hello Selom,

    Thanks for writing and for reporting this.

    We're not aware of similar issue and would like to investigate it. Could you please open a support ticket and attach a sample project that we can use to reproduce it on our side? This will help us directly debug the case and see what goes wrong.

    Thanks for your time.

    All the best,
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. Jagoba
    Jagoba avatar
    4 posts
    Member since:
    Apr 2013

    Posted 10 May 2013 Link to this post

    I have the same issue, any news
  4. Deyan
    Deyan avatar
    2147 posts

    Posted 10 May 2013 Link to this post

    Hi Jagoba,

    This issue has already been addressed and we will be releasing an Internal Build containing the fix. You will be able to download it from your account by accessing the Latest Internal Builds section.

    Let us know if you have additional questions.

    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top