Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
LostFocus UpdateSourceTrigger
Versions des environnements
I'm using WPF so I'm not sure if this is a WPF issue or MM but I've got a textbox bound to a MM BO entity and a toolbar with a save button. When I click the save button the field that had the focus is not updated. I know VFP used to have this type of problem with ActiveX controls. Am I missing something here? My datacontext for the grid is the Entity object with the textbox bound to the "fieldname". If I tab out of the textbox and then click save it works fine.
I've just tried forcing a focus to a readonly textbox on the window when the save button is clicked and this works but obviously not quite optimal.
Is there something on the toobars that is not forcing the lostfocus event on the textbox or have I somehow messed up the binding and datacontext?
Thanks,
-Sid.
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