Skip to content

The CellParsing event of the datagridview can't be invoked when changing the value of the cell firstly #1098

@Zheng-Li01

Description

@Zheng-Li01
  • .NET Core Version: (3.0.100-preview6-12253 from release branch)
  • Have you experienced this same bug with .NET Framework?: No

More info:
The issue also can reproduce on the 3.0.100-preview7-12261 from master branch.

Repro Steps:

  1. Build and run the attached application.
    test1.zip
  2. Try to change the first cell value from “1” to “a1”.
  3. Click another cell using mouse.
  4. Repeat the step2 & step3.

Actually Results:
After step3: The CellParsing event of the datagridview didn't invoke, and the value still is “1”,not be changed to “a1”.
After step4: The CellParsing event of the datagridview can be invoked, and the value was changed to “a1”.
ReproSteps2 gif

Expected:
After step3:
The CellParsing event of the datagridview can be invoked, and the value was changed to “a1”.

Metadata

Metadata

Labels

🪲 bugProduct bug (most likely)💥 regression-previewRegression from a preview releasetenet-compatibilityIncompatibility with previous versions or with WinForms for .NET Framework

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions