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

2 posts, 0 answers
  1. Phenicy Informatica Srl .
    Phenicy Informatica Srl . avatar
    5 posts
    Member since:
    Feb 2009

    Posted 31 Aug 2009 Link to this post


    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.

  2. Jack
    Jack avatar
    2333 posts

    Posted 01 Sep 2009 Link to this post

    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,
    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.
Back to Top