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

[Solved] System.NullReferenceException in GridView

6 Answers 311 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
cantor
Top achievements
Rank 1
cantor asked on 11 Jul 2011, 02:31 PM

Sometimes, I got the following exception from RadGridView when I scroll over the RadGridView using mouse. Could anyone help me on this problem? Thanks a lot!

Exception:

System.NullReferenceException: [Arg_NullReferenceException]

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60310.0&File=mscorlib.dll&Key=Arg_NullReferenceException

   at Telerik.Windows.Controls.GridView.SelectiveScrollingGrid.LayoutAwareBindingHelperProxy`1..ctor(T targetProperty, ILayoutObserver observer, Action`3 contentHorizontalOffsetCallback, Action`3 contentVerticalOffsetCallback)

   at Telerik.Windows.Controls.GridView.SelectiveScrollingGrid.BindClipping(FrameworkElement element, GridViewScrollViewer scrollViewer)

   at Telerik.Windows.Controls.GridView.SelectiveScrollingGrid.element_Loaded(Object sender, RoutedEventArgs e)

   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)

   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

6 Answers, 1 is accepted

Sort by
0
cantor
Top achievements
Rank 1
answered on 12 Jul 2011, 03:06 PM
It happened again and I noticed it happened when I scroll over the RadGridView using mouse. Some users of our project also complained this problem to us.
0
Vlad
Telerik team
answered on 12 Jul 2011, 03:11 PM
Hello,

 Can you post more info about the grid version? Is it our latest official Q1 2011 SP1?

Regards,
Vlad
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!

0
cantor
Top achievements
Rank 1
answered on 12 Jul 2011, 03:22 PM
The telerik control version I am using is Silverlight Q1 2011 SP1. And please see the attachment for detail info of the Telerik.Windows.Controls.GridView.dll.
0
cantor
Top achievements
Rank 1
answered on 12 Jul 2011, 07:16 PM
Attachment is the old version of the GridView we used before the upgrade. It did not have this problem.
0
cantor
Top achievements
Rank 1
answered on 12 Jul 2011, 07:28 PM
It seems that someone had the similar problem before me. Please take a look at the following link:
http://www.telerik.com/community/forums/silverlight/gridview/mouse-scrolling-crash-for-gridview-in-new-version-2011-1-419-1040.aspx
0
Vlad
Telerik team
answered on 13 Jul 2011, 06:45 AM
Hi,

 We believe that this issue was fixed in one of our latest internal builds and I suggest you to try our upcoming Q2 2011 later Today. 

Regards,
Vlad
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!

Tags
GridView
Asked by
cantor
Top achievements
Rank 1
Answers by
cantor
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or