ODataWPNorthwind not able to save changes

Dec 29, 2010 at 9:41 PM

The ODataWPNorthwind Sample is not saving any changes made to SQL server although its pulling the data properly. I have a local DataService created and then created Northwind data Model thru SVCUtilities. It will save changes but when you do it 2nd time. There is some kind of timing issue going on and I am trying to resolve that.

Dec 30, 2010 at 6:32 PM

The saving works if you Tab and go to the next field but if you click the save button directly while you are still in the field then it doesnt save

Mar 1, 2011 at 4:21 PM

Hi rgulamali,

The TextBox control on the Phone commits changes  only when the user tabs out of the control.
Since the TextBox doesn't fire the commit event, the changes are not caught by the DataServiceContext tracking the entity bound to the control.
The behavior you are seeing is by-design.