Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Frame: navigate to an xaml from external dll

$
0
0

Hello,

I have a SL project in which there is a C# class named "CommonClass". I use Application Cache Library, so when I add CommonClass to my projects and compile I have CommonClass.zip file in which I have CommonClass.dll.

In CommonClass I have an xaml UserControl in which there is a <navigation:Frame> control and I can load that page correctly. The problem is that I cannot navigate my xaml pages because it seems there is an error when I load my Uris from my CommonClass.dll (xaml files are not finded...). This Frame worked like a charm, now I use ACL... and some problem happens!

Are these lines correct?

this.navigation.Navigate(new Uri("/CommonClass;component/Views/FirstPage.xaml", UriKind.Relative));

this.navigation.Navigate(new Uri("/CommonClass;component/Views/SecondPage.xaml", UriKind.Relative));

this.navigation.Navigate(new Uri("/CommonClass;component/Views/ThirdPage.xaml", UriKind.Relative));


Viewing all articles
Browse latest Browse all 1083

Trending Articles



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