Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
I actually tried to do this (adding the updated binding context position statement). But, at least using VB.NET, we get a compiler error as soon as we create the click event:
"Handles clause requires a WithEvents variable defined in the containing type or one of its base types."
So instead we tried to put the binding context statement in the grid view RowsAdded event instead. But something in the framework happens between the RowsAdded event and completing the internal handling of the button click because our manually updated position gets blown away by the time the event is over.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement