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

New Post: Prism-MEF: how to navigate to view in different module using UriQuey

$
0
0
Hi,

As far as I know, using just the contract name string specified in the export attribute should be enough to navigate the view based on this string.

On the other hand, perhaps what you are experiencing is a timing issue, when loading your modules as if your ModuleA loads before your ModuleB the RequestNavigate method may be called before the View_B defined in ModuleB is exported to the corresponding container. If this is the case you will have to ensure that the modules are loaded in the correct order. For example you could achieve this by specifying module dependencies like mentioned in this section of the documentation:
Regards,

Agustin Adami
http://blogs.southworks.net/aadami

Viewing all articles
Browse latest Browse all 1878

Trending Articles



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