Thanks for your response.
I am able to get the confirmation to show; that is not the issue.
I want to save the data on the view before it navigates to the next page. What is currently taking place is that the confirmation message shows up, I ask the user if they want to save the data, if yes, I want to
pause until the saving is done, just in case there is an error so we can inform the user.
I am able to save the data, but since the call is async, the completion of saving takes place after the user navigated, I want to stop that.
The example and the links you sent (I already had completed the training kit) only explains how to show the confirmation and act accordingly.
I am looking for example to defer the navigation till the save is complete.
Below is what I am trying to implement but I am not successful.
In Chapter 8: Navigation of the PRISM documentation on MSDN:
If you want to defer navigation, you can store a reference to the continuation callback you can then call when the interaction with the user (or web service) completes. The navigation operation will be pending until you call the continuation