How to redirect to another .xaml page in silverlight application
Hi i am new to silverlight, i am not getting how to redirect to another .xaml page after clicking hyperlink button in silverlight application, please help me regarding this.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priya LingePosted Sep 22, 2011, 12:45 AM
Hi,
We can navigate to another xaml page as following way.
Namesapce for navigation :
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
MainPage.xaml :
We have 1 hyperlink button by click this button we can navigate other xaml page.
here we set Targetname in contentFrame which is on Mainpage.xaml.
Please check attached file.
Hope this will help you.
Thanks.
AshwiniPosted Sep 23, 2011, 2:33 AM