Reputation: 6689
I have a Windows Phone 7 application written in Silverlight. I have a button in this application. When a user clicks this button, I want it to open the web browser and navigate the user to my website. Is it possible to do this without loading a web browser control in my application? If so how?
Thanks!
Upvotes: 4
Views: 3294
Reputation: 2248
Yes, you can use the WebBrowserTask class to accomplish that. Use it as follows:
WebBrowserTask task = new WebBrowserTask();
task.URL = "https://www.paypal.com/";
task.Show();
Upvotes: 10