Groups | Blog | Home
all groups > dotnet windows forms > february 2007 >

dotnet windows forms : last control edited not getting changes when saved


Jose Fernandez
2/7/2007 2:07:13 PM
Hello.

We have a Form with multiple controls (textboxes, Comboboxes, etc). I have
these controls binding to an user Binding Data Source.

PROBLEM.
The last control edited is not getting updated UNLESS we click somewhere
else (that forces the control to lose focus).

If we click on the save button, any changes made to that control is not
saved.

Does anyone knows about this?

Thanks

Jose

Jose Fernandez
2/7/2007 3:02:57 PM
Thank you for your help. All i needed to do is set a this.Validate() on the
form and that forces all the controls to validate theirselves trigering the
lostfocus()...

Thank.


[quoted text, click to view]

AddThis Social Bookmark Button