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

OnColumnHeaderResize method is giving exception when resizing columns

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mert
Top achievements
Rank 1
Mert asked on 09 Jan 2015, 10:57 AM
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

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 13 Jan 2015, 11:42 AM
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.

 
Tags
GridView
Asked by
Mert
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or