Y'all,
I am getting an "An attempt was made to end the edit process while it is already in the process of being ended" error very repeatably the second time I save inserted data when starting from an initially empty grid. I've boiled the problem code down to a very stripped down example (about 20 lines of code) which I am including in the attached file. The steps necessary to see the error are:
1) Run the program
2) Enter some text in the insert row in the grid
3) Click "Save"
4) Enter some new text in the insert row in the grid
5) Click "Save"
Step five will produce the error.
I don't think that calling "EndEdit" is explicitly required to get this error, although that is the line of code where the error will be seen in the attached example. I was also able to get a similar behavior in a version of the code without the "EndEdit" call but the steps for reproducing it that way are more complicated.
I upgraded to build 3.5.9502.16400, to no avail.
Has anyone else run into this problem? Am I doing something invalid or is this a bug?
Thanks,
-JLS