Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
DockPane Exception
posted

Hi,

I am using Infragistics 6.3 on .NET 1.1 and get a strange exception when I mouseover the Infragistics toolbar.  It only occurs in the release version (not in the Visual Studio design environment).

Could someone please help and tell me why the "DockPaneCaption" thinks there is a duplicate entry in the dictionary.  What do I need to do to resolve this?

 

System.ArgumentException: Item has already been added.  Key in dictionary: "DockPaneCaption"  Key being added: "DockPaneCaption"
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at Infragistics.Win.AppStyling.StyleUtilities.UpdateRoleHierarchy(Hashtable table, AssemblyStyleInfo[ assemblyInfos)
   at Infragistics.Win.AppStyling.StyleManager.ProcessLoadedAssembliesImpl()
   at Infragistics.Win.AppStyling.StyleManager.GetSharedObjectProperties(String sharedObjectName)
   at Infragistics.Win.AppStyling.SharedObjectCache.GetProperties()
   at Infragistics.Win.AppStyling.PropertyInfoCache.ParseProperty(String propertyName)
   at Infragistics.Win.AppStyling.PropertyInfoCache.GetProperty(String propertyName)
   at Infragistics.Win.AppStyling.StyleManager.GetSharedObjectPropertyValue(ComponentRole componentRole, String sharedObjectName, String propertyName)
   at Infragistics.Win.AppStyling.ComponentRole.GetProperty(String sharedObjectName, String propertyName)
   at Infragistics.Win.ToolTip.get_LeftMarginResolved()
   at Infragistics.Win.ToolTip.CalcLineRect(Rectangle& rect, Graphics g, String text, LocationAdjustInfo adjustInfo, Font font)
   at Infragistics.Win.ToolTip.CalcStringSize(String text, Graphics g, LocationAdjustInfo adjustInfo, Font font)
   at Infragistics.Win.ToolTip.AdjustDimensions(Rectangle& rect, Graphics g, LocationAdjustInfo adjustInfo)
   at Infragistics.Win.ToolTip.ReAdjustForm(Rectangle rect, LocationAdjustInfo adjustInfo)
   at Infragistics.Win.ToolTip.Show(Point displayLocation, Boolean rightAlign)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.DisplayToolTipHelper(String toolTipText, String toolTipTitle, String toolTipTextFormatted, String shortCutString, Boolean suppressShortcuts, Rectangle exclusionRect, Point point)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.DisplayToolTip(ToolBase tool)
   at Infragistics.Win.UltraWinToolbars.ToolBase.DisplayToolTip()
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.set_ImmediateToolTipDisplayMode(Boolean value)
   at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseHover()
   at Infragistics.Win.ControlUIElementBase.NotifyMouseHover(UIElement element)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseHover(Object sender, EventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraControlBase.OnMouseHover(EventArgs e)
   at System.Windows.Forms.Control.WmMouseHover(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Parents Reply Children