How to define & style navigation confirmation

Topics: Prism v4 - Silverlight 4
Aug 19, 2011 at 9:33 PM

Hello all,

I am reading Karl Shifflett's blog

I am able to get that working no problem.  

So if I understand Karl correctly,  in the MessageBoxNotificationAction  instead of calling message box, call a child window, but where would that child window live, would it be in the client, or in the common project?

I have the sample you provided implemented in my code and i am able to generate the messagebox on navigation, so I just need to know where to store the child window.

Also, will the same thing apply to error message?  Meaning, if I want to have a common error messagebox/Childwindow to show for the errors in the application how would I go about doing that?



Aug 23, 2011 at 3:25 PM

Any ideas anyone please?

Aug 23, 2011 at 5:37 PM


In this case the location of the child window depends on your preferences. For example, if you are going to use the child window in many views across different modules, it could make sense to store it in an infrastructure project. However if you don't want to have an strong reference to the child window, you could store it in a module, register it in the container, and resolve it when needed.

I hope you find this useful,

Damian Cherubini