DataGridView ShowInsertRow Error

4 posts, 0 answers
  1. shiras abdulrahman
    shiras abdulrahman avatar
    6 posts
    Member since:
    Mar 2006

    Posted 12 Apr 2011 Link to this post

    Hi
    I have a hierarchical grid, I have enabled the ShowInsertRow for both the parent and child grid.
    now when i click on the parent show insert row, a new row appears and i am able to add a value into it. if I TAB out of the editting row there is no issues, problem starts if i use the mouse and click on any other parent row.  the below error is displayed .

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
    Timestamp: Tue, 12 Apr 2011 12:00:46 UTC

    Message: Unhandled Error in Silverlight Application
    Code: 4004   
    Category: ManagedRuntimeError      
    Message: System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.Windows.Controls.GridView.GridViewDataControl.get_IsInEditMode()
       at Telerik.Windows.Controls.GridView.GridViewDataControl.OnCurrentCellInfoChanging(GridViewCellInfo oldCell, GridViewCellInfo newCell)
       at Telerik.Windows.Controls.GridView.GridViewDataControl.set_CurrentCellInfo(GridViewCellInfo value)
       at Telerik.Windows.Controls.GridView.GridViewCell.OnGotFocus(RoutedEventArgs e)
       at System.Windows.Controls.Control.OnGotFocus(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)    

    Line: 62
    Char: 13
    Code: 0

    For the parent grid, I have the following events,  

     

     

    BeginningEdit

     

     

    RowEditEnded
    CellValidating

    Please let me know your thoughts, this is a highly important delivarable. request you to respond ASAP.

     

     

     

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Apr 2011 Link to this post

    Hi,

     Can you post more info about the grid version? Is it our latest official - Q1 2011?

    All the best,
    Vlad
    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
  3. DevCraft banner
  4. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 12 Apr 2011 Link to this post

    Yes,

    I am using the latest version. Please find the file attached with the workflow. Need solution ASAP as i got a demo.

    Thanks,
    Shiras
  5. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 14 Apr 2011 Link to this post

    Hi David,

    Could you send us a demonstration project where the exception appears? We have tried the scenario and no exception can be reproduced. Here is a short video demonstrating the steps we took for testing the case.
     
    Kind regards,
    Yordanka
    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
Back to Top