Getting the following exception with Infragistics grids. Not able to catch this exception. Below is the stack trace of the exception. Any help on this would be much appreciated. Thanks in advance.
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+. at System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat, Int32& charactersFitted, Int32& linesFilled) at Infragistics.Win.DrawUtility.MeasureStringHelper(Graphics gr, String text, Font font, Size layoutArea, StringFormat stringFormat, Int32& charactersFitted, Int32& linesFilled, Boolean returnElementsFitted, GdiDrawStringFlags drawStringFlags) at Infragistics.Win.ToolTip.CalcLineRect(Rectangle& rect, Graphics g, String text, LocationAdjustInfo adjustInfo, Font font, Int32 excludedWidth) at Infragistics.Win.ToolTip.CalcStringSize(String text, Graphics g, LocationAdjustInfo adjustInfo, Font font, Int32 excludedWidth) at Infragistics.Win.ToolTip.AdjustDimensions(Rectangle& rect, Graphics g, LocationAdjustInfo adjustInfo) at Infragistics.Win.ToolTip.ShowHelper(Rectangle displayRect, Int32 maxWidth, Boolean adjustX, Boolean adjustY, Boolean adjustWidth, Boolean adjustHeight, Rectangle exclusionRect, Boolean excludeX, Boolean excludeY, Point targetPoint, Boolean rightAlign, Boolean useTargetLocation) at Infragistics.Win.ToolTip.Show(Rectangle displayRect, Int32 maxWidth, Boolean adjustX, Boolean adjustY, Boolean adjustWidth, Rectangle exclusionRect, Boolean excludeX, Boolean excludeY, Point targetPoint, Boolean rightAlign) at Infragistics.Win.ControlUIElementBase.ShowToolTip(IUltraControl ultraControl, UIElement element, ToolTipInfo toolTipInfo) at Infragistics.Win.ControlUIElementBase.MouseHoverToolTipElement(ControlUIElementBase controlElement, IUltraControl ultraControl, UIElement element) 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.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)
Hello Mohammad,
Thank you for contacting Infragistics!
What version are you using?What are you doing when this error occurs?How are you setting up the grid?
The best way for us to assist you is if you provide a small isolated sample that we can run and use for debugging locally.