How to validate current object in databinding before move to another
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, i suppose it's common question and one has been asked many times, but all answers whats i find no convinet for me. Since what i wan't to ask you guys whats the best convinet way to validate current object in databinding before move to another(and if one not valid prohibit to move). There is exists CurrentChanged event and not CurrentChanging, how i can emulate CurrentChanging in my code. I use dataBindingNavigator for move throught records, and sets of control that linked to my DataBinding object (not datagrid so i can't use rowvalidating and cellvalidating events). Thanks.