Hello,
Version 10.1.20101.2013
In the attached sample project, if I update the column "field_int" with an invalid value like "a", then I click inside one of the 2 textbox on the right, I get stuck in a infinite loop of "Data Error" messages.
How to solve this issue ?
Hi,
I'm pretty sure that this is happening because you are parenting forms inside of other forms.It's probably the same issue I reported to Microsoft here:
Showing a MessageBox and setting focus to a control in the Leave event of that control inside nested ContainerControls causes an infinite loop. | Microsoft Connect
I strongly advise you against doing this. In my experience, this will cause all sorts of problems with the tab order and focus issues.
I replaced child forms with user controls and indeed the problem goes away.
Many thanks !