Microsoft KB Archive/939219

= BUG: You notice duplicate numbers when you enter a number by using an East Asian Input Method Editor in a .NET Framework 2.0-based Windows Forms application =

Article ID: 939219

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0

-



SYMPTOMS
Consider the following scenario. You enter a number by using an East Asian Input Method Editor (IME) in a Microsoft .NET Framework 2.0-based Windows Forms application. The form contains a DataGridView control. In this scenario, you notice duplicate numbers.

This problem occurs with the following types of IME:
 * Chinese Traditional (CHT)
 * Chinese Simplified (CHS)
 * Korean (KOR)



CAUSE
This problem occurs because the current cell is not in the edit mode.



WORKAROUND
To work around this problem, set the EditMode property value for the Windows Forms DataGridView control to EditOnEnter. The current cell now remains in the edit mode.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
The cell changes to edit mode only after you enter a number. The number appears two times because the number does not require a composition window. The first number appears two times when the cell goes from non-edit mode to edit mode. Later numbers do not appear two times.

You do not notice this problem with alphabetical characters.

