Referring to StockTraderRI, I created a popup area in my shell
infBehaviors:RegionPopupBehaviors.CreatePopupRegionWithName="{x:Static inf:RegionNames.SecondaryRegion}"
In a module, I am trying to load a view into a popup
_regionManager.RequestNavigate(RegionNames.SecondaryRegion, new Uri("/OrderDetailsView", UriKind.Relative));
OrderDetailsView is a view in the OrderDetailsModule. At this point I get the error below
Activation error occurred while trying to get instance of type Object, key "OrderDetailsView"
Stack trace looks below
at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) in c:\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 53 at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key) in c:\Projects\CommonServiceLocator\main\Microsoft.Practices.ServiceLocation\ServiceLocatorImplBase.cs:line 103 at Prism.Regions.RegionNavigationContentLoader.CreateNewRegionItem(String candidateTargetContract)
Any ideas what I can do wrong?
source share