This is a migrated thread and some comments may be shown as answers.

RadGridView exception

3 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Adriano
Top achievements
Rank 1
Adriano asked on 18 Sep 2009, 09:23 PM
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

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 22 Sep 2009, 08:06 AM
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.
0
Adriano
Top achievements
Rank 1
answered on 22 Sep 2009, 08:12 AM
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
0
Milan
Telerik team
answered on 22 Sep 2009, 08:16 AM
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.
Tags
GridView
Asked by
Adriano
Top achievements
Rank 1
Answers by
Milan
Telerik team
Adriano
Top achievements
Rank 1
Share this question
or