OnColumnHeaderResize method is giving exception when resizing columns

2 posts, 0 answers
  1. Mert
    Mert avatar
    1 posts
    Member since:
    Nov 2011

    Posted 09 Jan 2015 Link to this post

    Hi,

    We have a problem when we resize columns in GridViewHeaderCell. We got the error %25 of times. I paste the stack trace below. I see that IsValidResizableCell method is throwing exception under OnColumnHeaderResize method. Is there a way to handle this error?


    SilverlightError:  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.GridViewHeaderCell.IsValidResizableCell(Object gripper) 
       at Telerik.Windows.Controls.GridView.GridViewHeaderCell.OnColumnHeaderResize(Object sender, DragDeltaEventArgs e) 
       at System.Windows.Controls.Primitives.Thumb.OnMouseMove(MouseEventArgs e) 
       at System.Windows.Controls.Control.OnMouseMove(Control ctrl, EventArgs e) 
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)    


    Thanks
    Mert
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 13 Jan 2015 Link to this post

    Hi ,

    Unfortunately you cannot handle the exception on your side. We will have to fix it internally. However since we are not able to reproduce the problem on our side, would it be possible to send a small sample where we can observe the problem in order to provide a fix for it? 

    Thank you in advance. 

    Regards,
    Nick
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top