RequestNavigate gives System.Object

Topics: Prism v4 - Silverlight 4
Mar 4, 2011 at 1:36 PM

I am having trouble using RequestNavigate   i have modue A initialized as :

               _container.RegisterType<Object, moduleBView>("moduleBView");
 
               _regionManager.RegisterViewWithRegion("MainRegion", () => _container.Resolve<moduleBView>());

 

And on another part of my program i call 

            _regionManager.RequestNavigate
                (
                "MainRegion",
                new Uri("moduleBView", UriKind.Relative),
                PostNavigationCallback
                );
        }

(A moduleA was in the MainRegion exactly like moduleB The navigation callback fires with a success, but all i see is System.Object in the spot where MainRegion view that had ModuleA should have been replaced by ModuleB View

 

 

 

 

 

 

 

Mar 4, 2011 at 2:03 PM

Fixed Module B was not initialized correctly but no errors where thrown