
You can use either HyperlinkControl or the Hyperlink XAML Tag to achieve that.
Let's take our Sample App (refer QR Code) which has a good list of Hotels and Restaurants.
The App tries to provide links to these websites.
Adding Hyperlink Tag to the Content/Grid should help.
Exceptions while Adding Hyperlink / Navigating Hyperlink in Windows Phone Application
{"Cannot navigate to locations relative to a page."}
{"Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'.\r\nParameter name: uri"}
The above exceptions are caused when the TargetName is not set to _blank
(or)
The http:// prefix is omitted in NavigateUri
The correct representation is given below:
<Hyperlink TargetName="_blank" NavigateUri="http://www.hotelnalaresidency.com">www.hotelnalaresidency.com</Hyperlink>

See also:
Hyperlink Control in Windows Forms (VB.NET) Application
How to Download File from Website using C# (.NET)






















Hire PHP Developer in Lucknow India, C# Development Services India
ReplyDelete