Hi,I recently upgraded Infragistics from 2007.3 to 2011.2. When user did copy one cell and drag the rest of cells in same column to paste , the new version 11.2 throws exception when the mouse is out of grid. Do we treat the drag event differently in new version? Did anyone has same problem? Thanks.
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Win.UltraWinGrid.UltraGrid.Infragistics.Win.ISelectionManager.ItemNearestPoint(Point point, ISelectableItem lastItem) at Infragistics.Win.SelectionStrategyExtended.OnMouseMove(ISelectableItem item, MouseMessageInfo& msginfo) at Infragistics.Win.SelectionStrategyExtended.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo) at Infragistics.Win.SelectionStrategyBase.VerticalScrollTimer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hi Hristo, This is not the issue with multi cells operation. I already set the propriety AllowMultiCellOperations to AllowMultiCellOperation.Copy. The error happened when trying to highlight all cells and mouse is outside of WinGrid. Mark, I am not able to find the new version you mentioned that has the fix for this issue. Can you please help?Thanks.
Hello ,
As I said in the new Infragistics 11.2 you could use multi cell operation to achieve copping of value of one cell to several ones. Using this approach I think that you will avoid this exception. If this doesn’t helps please provide us a small sample where this issue is reproducible and we will be able to investigate this further for you.
I am waiting for your feedback.
We don't allow to get latest service ourselves due to company's policy. I used 11.2.20112.2050 right now. Do you have any temporary solution? Just adding error handling in some event (cannot figure out which event ) to ignore this error? Thanks.
I think this might be a known bug that is already fixed. Try getting the latest service release and the problem should be corrected:
How to get the latest service release - Infragistics Community
Hello,
I am not sure how exactly you have implemented this functionality in Infragistics 7.3, but in Infragistics 11.2 you could allow multi cell operations, which will allows you to copy, cut, paste and etc., value of one cell onto several ones. For more information please review the following links from our online documentation
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v11.2~Infragistics.Win.UltraWinGrid.UltraGridOverride~AllowMultiCellOperations.html http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v11.2~Infragistics.Win.UltraWinGrid.MultiCellOperation.html
Please try the tutorial from this links and let me know if this is what you want to achieve and if this works for you.