Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LostFocus UpdateSourceTrigger
Message
De
25/03/2009 10:20:09
Sid Meyers
Omegaware Consulting, Inc.
Minnesota, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
LostFocus UpdateSourceTrigger
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01391368
Message ID:
01391368
Vues:
97
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
Fil
Voir

Click here to load this message in the networking platform