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

Problems with GridView Hierarchy - Add New Child Row...

1 Answer 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Phenicy Informatica Srl .
Top achievements
Rank 1
Phenicy Informatica Srl . asked on 31 Aug 2009, 02:26 PM
Hello,

Using Q1 2009 Demos...  
When we add a new row to the  child grid, the same value is updated in the last row.
When I click the right button on that row, an error appears.

--------------------------------------------------------
System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en Telerik.WinControls.UI.GridViewCellInfo.get_CellElement()
   en Telerik.WinControls.UI.GridDataCellElement.MergeMenus(IContextMenuManager contextMenuManager, Object[] parameters)
   en Telerik.WinControls.UI.GridViewContextMenuManager.ShowContextMenu(IContextMenuProvider contextMenuProvider)
   en Telerik.WinControls.UI.BaseGridBehavior.OnContextMenu(MouseEventArgs e)
   en Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownRight(MouseEventArgs e)
   en Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   en Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   en Telerik.WinControls.RadControl.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------------------------------------------------

Note: For the first child grid this not happen.

Regards
Phenicy

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 01 Sep 2009, 08:27 AM
Hi Phenicy Informatica Srl .,

Please find the answer to your question in your support ticket about the same (ticket id: 239035). If you have any other questions, don't hesitate to ask.

All the best,
Jack
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
Phenicy Informatica Srl .
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or