Use of the IStorageService - with textbox

Mar 14, 2011 at 9:49 PM
Edited Mar 14, 2011 at 9:53 PM

I'll post here to maybe get some discussions going :)

I've used the WP7Contrib IStorageService inside a viewmodel of a view that only contained selectable items, this works great!

But now I have a view with some textboxes... and due to the fact that there is a problem with the binding if the focus was on a textbox, I can't get all values when trying to Tombstone the view. Any tips/ideas?

Problem explained with appbarbuttons ( but also so when pressing windows main button to go to the main page of the phone itself ) http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/c0ce4e48-6d5c-42d7-bc14-f412f1e0762c

I know there is a possibility to use coding4fun:TextBoxBinding.UpdateSourceOnChange="True" on a textbox, but that seems a bit wrong to trigger each time the user presses a key ;)

Or do you guys also add a PhoneApplicationService.Current.Deactivated handler in the PhoneApplicationPages itself?