I just updated 2008.1 to 2008.2 + latest Aug hotfix. And now none of our custom controls that use ComboEditor are working with KeyDown events.
"Object reference not set to an instance of an object." but my object list is initialized and working. The only code to change is upgrading. When I revert to 2008.1 everything works fine. WTH!
Ideas from support on how to get around this?
-Ken
at Infragistics.Win.EditorWithCombo.InternalOnEmbeddableTextBoxListenerKeyDown(KeyEventArgs e)at Infragistics.Win.EditorWithCombo.Infragistics.Win.IEmbeddableTextBoxListener.OnKeyDown(KeyEventArgs e)at Infragistics.Win.UltraWinEditors.UltraComboEditor.OnEditorKeyDown(KeyEventArgs args)at Infragistics.Win.UltraWinEditors.TextEditorControlBase.OnEditorKeyDown(Object sender, KeyEventArgs args)at Infragistics.Win.EmbeddableEditorBase.RaiseKeyDownEvent(KeyEventArgs e)at Infragistics.Win.EmbeddableTextBox.OnKeyDown(KeyEventArgs e)at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)at Infragistics.Win.EmbeddableTextBoxWithUIPermissions.ProcessKeyMessage(Message& msg)at System.Windows.Forms.Control.WmKeyChar(Message& m)at System.Windows.Forms.Control.WndProc(Message& m)at System.Windows.Forms.TextBoxBase.WndProc(Message& m)at System.Windows.Forms.TextBox.WndProc(Message& m)at Infragistics.Win.EmbeddableTextBoxWithUIPermissions.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)at System.Windows.Forms.Application.Run(Form mainForm)at Cbs.Ibs.SalesDesktop.Program.Main() in D:\Dev\IBS\1.4\Clients\SmartClient\SalesDesktop\SalesDesktop\Program.cs:line 27at System.AppDomain._nExecuteAssembly(Assembly assembly, String[ args)at System.AppDomain.nExecuteAssembly(Assembly assembly, String[ args)at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[ activationCustomData)at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()at System.Threading.ThreadHelper.ThreadStart_Context(Object state)at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)at System.Threading.ThreadHelper.ThreadStart()
Hi Ken,
Can you duplicate this in a small sample project? If so, you should Submit an incident to Infragistics Developer Support so they can check it out and get it corrected.
My guess is that this has something to do with the AutoCompleteMode property that was added in v8.2. But if this used to work and now it raises an exception, it's a bug and needs to be fixed.
Using NetAdvantage 2010 volume 2.
Is there an update, because I ran into the same issue.
I've created a UserControl which is composed of a UltraComboEditor with a RightButton that holds a Treeview ... When the UserControl is used into an UltraGrid has an EditorComponent for a specific Column, I have the following Exceptions when I hit any of the arrow key (Left, Up, Right, Down).
Any ideas on what is wrong here?
Sylvain
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Infragistics.Win.EditorWithCombo.InternalOnEmbeddableTextBoxListenerKeyDown(KeyEventArgs e)
at Infragistics.Win.EditorWithCombo.Infragistics.Win.IEmbeddableTextBoxListener.OnKeyDown(KeyEventArgs e)
at Infragistics.Win.EditorWithCombo.OnOwnerKeyDown(KeyEventArgs e)
at Infragistics.Win.EmbeddableEditorBase.ProcessOwnerKeyDown(Object sender, KeyEventArgs e)
at Infragistics.Win.EmbeddableEditorOwnerBase.RaiseKeyDown(KeyEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGrid.ForwardKeyToEditorHelper(KeyEventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGridUIElement.ProcessKeyDown(KeyEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
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)