Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: NavigateFrom and NavigateTo not being called

$
0
0
Hi,

Based on the scenario you described us, there wouldn’t be any special considerations for this to run. As far as I know, OnNavigatedFrom and OnNavigatedTo shouldn't be the cause of the problem if the navigation does not occurs. However, I think you should verify the following:

  • Requests[i].RegionName and Requests[i].ViewName exist and are correctly spelled as equals to its registration name.
  • The views are correctly registered in your Container.
  • The Request.Navigate call from the second view is executed.
Also, take into account that the Navigation API swallows any type of exception so any issue regarding the navigation won't be output. Therefore, if you need to know if there is an exception in your navigation, you can subscribe to the IRegionNavigationServiceNavigationFailed event to get more details.

You may also find helpful the following thread:

If that doesn't help you, it would be helpful if you can provide us with additional information on how the Navigate requests and the OnNavigatedTo and OnNavigatedFrom methods are implemented.

Hope this helps,

Federico Martinez
http://blogs.southworks.net/fmartinez

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>