Navigation not occurring

Topics: Prism v4 - WPF 4
Aug 19, 2013 at 9:40 AM
iv'e got tow viewmodels (implementing IConfirmNavigationRequest ) , which can be propagated into a region using navigation .

1) if i call the first and then the second :

NavigateFrom is called in the First and NavigateTo is called in the second
and my navigation callback is called

2)but if i call second and the first :
Nothing occurs . (no navigation)

In both cases the navigation is called as such :
 _regionManager.RequestNavigate(requests[i].RegionName, new Uri(requests[i].ViewName, UriKind.Relative),OnNavigationComplete); 
any ideas what could be causing this behavior ?

(Again if call the navigation in the order described in (1) everything is o'k
and if the order is (2) navigation never occurs )
Oct 24, 2013 at 7:25 AM
Does your viewmodel implement INavigationAware?
Oct 24, 2013 at 2:27 PM
Sorry. Didnt realise the IConfirmNavigationRequest inherits from INavigationAware. Is the IsNavigationTarget true for both the viewmodels?
Oct 24, 2013 at 4:03 PM
Hi everybody,

This thread is an exact duplicate of the of the following one (also created by the same user:)

If you want to contribute to the discussion by proposing solutions or asking other questions, please continue in the aforementioned thread.
Sorry for the inconveniences.


Damian Cherubini