RadGridView exception

4 posts, 0 answers
  1. Adriano
    Adriano avatar
    43 posts
    Member since:
    Jan 2009

    Posted 18 Sep 2009 Link to this post

    We are using RadGridView for Silverlight 3 and when the control is bound to an empty data source (no items in grid), we are facing with a strange behaviour. When we use mouse scrolling on the empty grid view, we have an argument out of range exception with the following stack trace:

    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
       at System.ThrowHelper.ThrowArgumentOutOfRangeException()
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
       at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.LineUp()
       at Telerik.Windows.Controls.GridView.GridViewScrollViewer.OnMouseWheel(MouseWheelEventArgs e)
       at System.Windows.Controls.Control.OnMouseWheel(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

    This behaviour doesn't happen with the Silverlight 2 version of the same control.

    Have you any idea or do you know some workaround?

    Thank you so much
    Adriano
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 22 Sep 2009 Link to this post

    Hi Adriano,

    We have already fixed the problem that you have reported. Just download our Latest Internal Build and you should no longer get such exceptions.

    Best wishes,
    Milan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Adriano
    Adriano avatar
    43 posts
    Member since:
    Jan 2009

    Posted 22 Sep 2009 Link to this post

    I've already fixed the problem updating your source code. Another question: is this a bug? If yes, have you to update my points?

    Thank you
    Adriano
  5. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 22 Sep 2009 Link to this post

    Hello Adriano,

    This was indeed a bug which we have fixed several weeks ago.

    Best wishes,
    Milan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top