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
15
UltraWin Grid - Error creating window handle for some users of application - suggestions?
posted

We have a large winForms application that is using UltraGrid that is data-bound to a source.

A user that has utilized this form for many years has updated to a new computer.  Since the update, the user is having an exception occur as they are using the TAB key to navigate through the form.

Are they any suggestions that I can get to help diagnose this situation?

The exception is

Error creating window handle.

   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.TextBoxBase.CreateHandle()
   at System.Windows.Forms.Control.RecreateHandleCore()
   at System.Windows.Forms.TextBox.set_CharacterCasing(CharacterCasing value)
   at Infragistics.Win.EmbeddableTextBox.Initialize(EmbeddableUIElementBase owningElement)
   at Infragistics.Win.EditorWithText.DisplayTextBox()
   at Infragistics.Win.EditorWithText.OnBeforeEnterEditMode(Boolean& cancel)
   at Infragistics.Win.EmbeddableEditorBase.EnterEditMode(EmbeddableUIElementBase embeddableElement)
   at Infragistics.Win.UltraWinGrid.UltraGridCell.EnterEditorIntoEditMode(Boolean byMouse)
   at Infragistics.Win.UltraWinGrid.UltraGridCell.EnterEditMode(Boolean byMouse, Boolean showingDropDown)
   at Infragistics.Win.UltraWinGrid.UltraGridCell.SetFocusAndActivate(Boolean byMouse, Boolean enterEditMode, Boolean byTabKey)

   at Infragistics.Win.UltraWinGrid.UltraGridLayout.PerformAction(UltraGridAction actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)

   at Infragistics.Win.UltraWinGrid.UltraGrid.PerformKeyAction(Enum actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)

   at Infragistics.Win.ControlUIElementBase.ProcessKeyDown(Object sender, 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)

thanks,

James

Parents
No Data
Reply
  • 7535
    Offline posted

    Hello James,


    Looking at the call stack the issue is related to editor when its in edit mode. But not sure why changing the machine would cause this behavior?
    What environmental difference you made on this new machine?
    Did you change the version/build of infragistics control on this machine? Which version of control you are using?
    Are you not getting the same behavior for all the users? On other machines?

    Are you getting this exception all the time when you tab?

    I need more information to understand the nature of the issue.

Children