textbox validate event doesn't fire when you think it should on last control in tab order
Closed this issue · 1 comments
adamfoneil commented
I've noticed that you get a Save exception when entering a record and you haven't tabbed off the last field. This is because the validate event hasn't happened for the last text box in the tab order because you haven't tabbed off it. If you tab off the last field, it works.
Probably need to look at a dictionary of control Validated events, just like we have for TextBox.TextChanged events.
adamfoneil commented
my solution is to find unvalidated controls during Save and call their validation delegate through a helper object. I tried some sendkeys hacks that didn't work.