Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 939219 - Last Review: December 3, 2007 - Revision: 1.1
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
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 "Applies to" 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.
REFERENCES
For more information about the Windows Forms DataGridView control, visit the following Microsoft Developer Network (MSDN) Web site:
For more information about how to specify the edit mode for the Windows Forms DataGridView control, visit the following MSDN Web site:
APPLIES TO
- Microsoft .NET Framework 2.0
| kbtshoot kbbug kbwindowsforms KB939219 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please