none
Navigation Problem

    Question

  • Recently, I have started with silverlight 3. I build a application and i want to navigate it into different page. By using Frame It has doing well but problem is that when i use data template and .cs file i unable to write Navigate method which is from NavigationService class. I have added in reference : System.Windows.Controls; and System.Windows.Controls.Navigation; Please suggest me * How can i instantiate NavigationService class. Or how can i solve this problem.
    Friday, April 20, 2012 12:14 PM

Answers

  • Hi Rashel,

    When implementing Navigation, the using state needs to add in cs file is System.Windows.Navigation

    NavigationService doesn't need to be instantiated, just use it as

    NavigationService.Navigate(Uri...)

    Besides that, you can also use a HyperlinkButton to do navigation and set NavigateUri of Hyperlinkbutton as the destinate url.

     

    Best Regards,

    Thursday, April 26, 2012 12:11 PM