When I bind a TextBox control to a string property of an object using two-way binding, it works fine - until the user disables the control before it closes the browser window / tab.
But what about a user who makes changes to the contents of a text field, then closes a window waiting to save data?
As long as you can hook up the TextChanged or Application_Exit () handler and manually update the property, you essentially re-do the work of the binder. However, these are the only solutions so far.
pi The same xaml / code in the WPF application works fine (App.OnExit shows updated data in the object).
source
share