View Navigations with in Modules ???

Topics: Prism v2 - Silverlight 4
Jul 10, 2010 at 12:14 PM
Edited Jul 10, 2010 at 1:53 PM


I have 2 modules

Module A has PageA-1, PageA-2 , PageA-3 (startup page is PageA-1)

Module B has PageB-1,PageB-2 (startup page is PageB-1)

Now when ModuleA is loaded, pageA-1 is injected to mainregion , and when ModuleB is loaded PageB-1 is injected to mainregion.This is all fine.

But when user navigates to PageA-2 in ModuleA , I inject this view to the same mainregion , NOW if user goes back to Module B how to set the PageB-1 in mainregion ?

How can I do this ?  is there any builtsupport for such scenario in Prism or  is there any way around of this ???




Jul 17, 2010 at 5:21 AM

Hi Shah,

Regarding navigation, as there is a mechanism to activate or deactivate views, there is not infrastructure for supporting navigation in Prism v2 out-of-the-box. But, this will be addressed in Prism v4. For more information you could take a look here.

This topic was also discussed in the following forum threads:

For more information about this, check Mariano Coverti’s post How To: Integrate a Prism v2 application with the Silverlight 3 Navigation Framework.

Please let me know if this helps.

Fernando Antivero