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
73
Pressing enter on value list withouth selecting anything causes exception.
posted

I have a value list in my UltraWinGrid. When user drops down value list using F4 key and then presses ENTER key without selecting anything in list, it causes NullReferenceException. The stack trace is given below:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Infragistics.Win.EditorWithCombo.Infragistics.Win.IValueListOwner.OnSelectionChangeCommitted()
   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.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Parents Reply Children
No Data