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

FastScrolling causes Gridview to crash

1 Answer 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Frank Schürer
Top achievements
Rank 1
Frank Schürer asked on 17 Sep 2010, 04:30 PM
Hi,

i've just tested a bit and scrolled through one of my several gridviews that i am using in my application and...whooops...
i've got this error message here:

"Object reference not set to an instance of an object."
And this error occured in Telerik.Wincontrols.UI.

Attached you can find the stack trace:

"   bei Telerik.WinControls.UI.ItemScroller`1.HideToolTip()\r\n   bei Telerik.WinControls.UI.ItemScroller`1.UpdateOnScroll(ScrollEventArgs e)\r\n   bei Telerik.WinControls.UI.ItemScroller`1.scrollbar_Scroll(Object sender, ScrollEventArgs e)\r\n   bei Telerik.WinControls.UI.RadScrollBarElement.OnScroll(ScrollEventArgs args)\r\n   bei Telerik.WinControls.UI.RadScrollBarElement.CallOnScroll(ScrollEventType scrollType, Int32 oldValue, Int32 newValue)\r\n   bei Telerik.WinControls.UI.RadScrollBarElement.EndScroll(Int32 endValue)\r\n   bei Telerik.WinControls.UI.RadScrollBarElement.OnMouseUp(MouseEventArgs e)\r\n   bei Telerik.WinControls.RadElement.OnCLREventsRise(RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadElement.OnBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadItem.OnBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)\r\n   bei Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)\r\n   bei Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)\r\n   bei Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)\r\n   bei Telerik.WinControls.UI.RadGridView.OnMouseUp(MouseEventArgs e)\r\n   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)\r\n   bei System.Windows.Forms.Control.WndProc(Message& m)\r\n   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)\r\n   bei Telerik.WinControls.RadControl.WndProc(Message& m)\r\n   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n   bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n   bei System.Windows.Forms.Application.Run(ApplicationContext context)\r\n   bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n   bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n   bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n   bei MediaCenter.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.\r\n   bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n   bei System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n   bei System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)\r\n   bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()\r\n   bei System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)\r\n   bei System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)\r\n   bei System.Activator.CreateInstance(ActivationContext activationContext)\r\n   bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()\r\n   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   bei System.Threading.ThreadHelper.ThreadStart()"

Is there a workaround for this particular problem?

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 22 Sep 2010, 08:27 PM
Hello Frank,

Thank you for contacting us.

We have not experienced this issue before. However, I noticed that you are using an older version of RadGridView. The current one is Q2 2010 SP2 and I recommend that you try it. If the issue continues to appear, please send me your application and describe the exact steps to reproduce it. 

I am looking forward to your reply.

Sincerely yours, Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Frank Schürer
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or