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

NullReferenceException while resizing column in WinForms.Gridview

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Madhav
Top achievements
Rank 1
Madhav asked on 26 Oct 2009, 10:22 AM
Hi

I'm using a trial copy of RadControls for WinForms Q2 2008 SP1,version 7.1.1.0 for development

And i get the following Error while resizing column in WinForms.Gridview

================================================================================================

System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="Telerik.WinControls.GridView"
  StackTrace:
       at Telerik.WinControls.UI.GridTableHeaderRowElement.OnMouseMove(MouseEventArgs e)
       at Telerik.WinControls.RadElement.DoMouseMove(MouseEventArgs e)
       at Telerik.WinControls.RadElement.CallDoMouseMove(MouseEventArgs e)
       at Telerik.WinControls.ComponentInputBehavior.OnMouseMove(MouseEventArgs e)
       at Telerik.WinControls.RadControl.OnMouseMove(MouseEventArgs e)
       at Telerik.WinControls.UI.RadGridView.OnMouseMove(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseMove(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at HotkeyOrg.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81

================================================================================================

Thanks
Madhav

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 27 Oct 2009, 02:33 PM
Hello Madhav,

You are using a really old version of our controls. Please upgrade to our latest release. You can download a Q2 2009 SP1 trial from your Telerik account.

Sincerely yours,
Nick
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
Madhav
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or