Hi.
We have a exception in ultragrid. There is UltraTooltip over image cell in ultragrid.
And when I do
UltraToolTipInfo toolTip = m_toolTip.GetUltraToolTip(myGrid);
Exception:
Item has already been added. Key in dictionary:
'Infagistics.Win.UltraWinGrid.UltraiGrid' Key being added:
'Infagistics.Win.UltraWinGrid.UltraiGrid'.
Excepton StackTrace:************** Exception Text **************System.ArgumentException: Item has already been added. Key in dictionary: 'Infragistics.Win.UltraWinGrid.UltraGrid' Key being added: 'Infragistics.Win.UltraWinGrid.UltraGrid' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at Infragistics.Win.UltraWinToolTip.UltraToolTipManager.HookExtenderComponent(Control control) at Infragistics.Win.UltraWinToolTip.UltraToolTipManager.GetUltraToolTip(Control control) at STC.ESteps.ManageReports.SummaryGeneration.ShowToolTip(String _message, ToolTipImage _ttImage, String _ttTitle) in C:\prj\EthnosSources\Magistr\Magistr\Ethnos\ManageReports\SummaryGeneration.cs:line 778 at STC.ESteps.ManageReports.SummaryGeneration.Grid_MouseDown(Object sender, MouseEventArgs e) in C:\prj\EthnosSources\Magistr\Magistr\Ethnos\ManageReports\SummaryGeneration.cs:line 726 at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hm, that's odd. Can you duplciuate this in a small sample project? If so, I recommend that you Submit an incident to Infragistics Developer Support.
There's no reason why attempting to get the Tooltip should ever raise that exception.