locked
How to link to another webpage like google.com from silverlight application? RRS feed

  • Question

  • I was wondering to link another webpage from silverlight application which is not part of the project files.

    For example from my web page I would like to link to the another person's blog.

    I used hyperlink button which is provided but it has NavigationUri which only allows .xaml file.

    Does anyone has an idea how to do it?

    Sunday, May 16, 2010 8:25 PM

All replies

  • You had the right idea, use a HyperlinkButton, just type the uri you want into the NavigationUri property.

     

    The xaml will look like this:

    <HyperlinkButton Content="Go to bing.com" NavigateUri="http://bing.com/"/>

    Monday, May 17, 2010 1:40 PM
    Moderator
  • Thank you for your help. It did work when i used this code in new separate standalone application.

    But, I was trying to use this in the "AGENCY" ( 2nd stage) lesson of toolbox.

    It was showing "no page found" when i click on the hyperlink.

    I think it must be code related problem with that particular application.

     

    Thank you for the help!!!

    Monday, May 17, 2010 6:22 PM