Telerik Gridview with 10.2A SP2.

Posted by Admin on 16-Nov-2009 10:51

I am using Telerik Gridview with 10.2A SP2 installed.

I can add the grid and then bind it to dataset .

Display does show up in the grid... and column sort is working.

However there is one problem when I drag a column header to group them.

The group works fine.

I can see that records have been grouped by whatever the column is...

The error occurs when i click any group to expand it  I get following error .

Error (Press HELP to view stack trace)
---------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
---------------------------
OK   Help  
---------------------------

--> C:\Projects\teltest\.metadata\.plugins\com.openedge.pdt.text\temp.dir\RunClass-Test-29883.p (C:\Projects\teltest\.metadata\.plugins\com.openedge.pdt.text\temp.dir\RunClass-Test-29883.r) at line 8

.NET StackTrace:
-->   at Progress.Data.DataSource.IndexOf(Object value)
   at System.Windows.Forms.BindingSource.IndexOf(Object value)
   at Telerik.WinControls.Data.DataAccessComponent.SetPosition(GridViewRowInfo rowInfo)
   at Telerik.WinControls.UI.GridViewInfo.SetCurrentRow(GridViewRowInfo row, Boolean setPosition, Boolean shift, Boolean control, Boolean rightMouseButton)
   at Telerik.WinControls.UI.BaseGridBehavior.SetCurrentPosition(GridRowElement row, GridCellElement cell)
   at Telerik.WinControls.UI.BaseGridBehavior.ChangeCurrentRow(MouseEventArgs e, GridRowElement row, GridCellElement cell)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   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(Form mainForm)

Any idea how to resolve it..

I thought Telerik controls are working fine with SP2 on 10.2A.

thanks

Artimus

All Replies

Posted by Peter Judge on 16-Nov-2009 11:01

I am using Telerik Gridview with 10.2A SP2 installed.

I can add the grid and then bind it to dataset .

Display does show up in the grid... and column sort is working.

However there is one problem when I drag a column header to group them.

The group works fine.

I can see that records have been grouped by whatever the column is...

The error occurs when i click any group to expand it I get following error .

I'd report this to Tech Support. Does it happen with any/all data?

-- peter

Posted by Admin on 14-Jul-2010 23:07

Thanks Peter, This was the bug in the 10.2A and fixed in 10.2B. Its working fine with 10.2B.

This thread is closed