Can you call SubmitChanges Synchronously?
Heres the story, in javascript body onunload, I'm opening a javascript confirm asking 'Set Status to Log off', if yes I'm firing a silverlight method which updates an entity property and calls SubmitChanges. It gets to SubmitChanges, but the message never
reaches the server and the database is not updated. I suspect that if I could call SubmitChanges synchronously it would wait and not close out the app before all is good. However it doesn't appear that this is possible, is it? Has anyone been able to solve
this type of closing browser action a different way?
Thanks!