Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open Web Page in Silverlight Windows Phone application

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!

like image 389
Villager Avatar asked Dec 29 '22 04:12

Villager


1 Answers

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();
like image 141
nickohrn Avatar answered Jan 10 '23 02:01

nickohrn