Loading data on RadDataBoundListBox in WP7 Manga Beta 7.1

4 posts, 0 answers
  1. Jeremie
    Jeremie avatar
    1 posts
    Member since:
    Mar 2011

    Posted 10 Jul 2011 Link to this post

    When loading data on Windows Phone 7.1 beta mango. I always have this exception when I'm scrolling the DataBoundListBox. It was working perfectly well on the previous version NoDo. By the way i'm loading a list with images as a template content.

    System.ArgumentOutOfRangeException was unhandled
      Message=
    Parameter name: index
      StackTrace:
           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.RadVirtualizingDataControl.GetTopVisibleContainer()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.an()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.am()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.a3()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.BalanceVisualSpace()
           at Telerik.Windows.Controls.RadVirtualizingDataControl.ag()
           at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
           at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, StackCrawlMark& stackMark)
           at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
           at System.Delegate.DynamicInvokeOne(Object[] args)
           at System.MulticastDelegate.DynamicInvokeImpl(Object[] args)
           at System.Delegate.DynamicInvoke(Object[] args)
           at System.Windows.Threading.DispatcherOperation.Invoke()
           at System.Windows.Threading.Dispatcher.Dispatch(DispatcherPriority priority)
           at System.Windows.Threading.Dispatcher.OnInvoke(Object context)
           at System.Windows.Hosting.CallbackCookie.Invoke(Object[] args)
           at System.Windows.Hosting.DelegateWrapper.InternalInvoke(Object[] args)
           at System.Windows.RuntimeHost.ManagedHost.InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult)
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 11 Jul 2011 Link to this post

    Hello Jeremie,

    Please, refer to the support tickets you sent us regarding the same topic.

    Kind regards,
    Deyan
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. Jonathan
    Jonathan avatar
    8 posts
    Member since:
    Jun 2012

    Posted 27 Nov 2011 Link to this post

    Hi,

    I'm getting a stack trace much like the one above when I scroll rapidly to the end of a RadDataBoundListBox while it is waiting for new data (my data comes in via web service).  It seems like, when I hit the bottom of the list scrolling quickly enough, in doing the bounce past the "Loading" content, it hits the extreme of the bounce animation and then blows up with the ArgumentOutOfRange  indexing a List<RadVirtualizingDataControlItem>.

    Since there was mention of a reported bug on this, I tried upgrading to the latest version of Q3 (2011.3.1116.2040) but am still having the problem.  I also tried switching to another paradigm, the Rad virtual collection, but then I got bunches of the "loading" content over and over.

    I'm looking for a relatively quick fix as I'm otherwise ready to release this app.

    Thanks in advance for any help you can provide.
    -Jonathan
  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 28 Nov 2011 Link to this post

    Hi Jonathan,

    Thanks for writing.

    We are currently not aware of similar issue and therefore we will be very grateful if you manage to give us some hints on how to reproduce it. We have a couple of examples covering similar scenarios (loading data on demand) in our Demos app and we are unable to reproduce any exceptions or undesired behavior.

    Could you please prepare a small Windows Phone 7 sample application that reproduces the exception and send it to us so that we can take a look and provide you with a quick fix if anything emerges?

    We appreciate you time and look forward to receiving the requested details.

    P.S.

    Please note that you will have to open a new support ticket to be able to attach your project.

    Regards,
    Deyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top