VS 2010 Silverlight Application 4 (VB or C#) - How do i use the webbrowser?
I need some help with the WebBrowser object in VS (C# or VB) (Silverlight Application 4). My problem is that the WebBrowser object only shows this: -
开发者_开发知识库How do i make it work/remove that text ? All i want to do is this:
C# :
MainWebBrowser.Navigate(new Uri("URL HERE"));
VB :
MainWebBrowser.Navigate("URL HERE")
You should take a look at this: http://silverlight-outofbrowser.com/
As the error message indicates, the WebBrowser control doesn't work when Silverlight is hosted in a browser. In order to use the control, you need to be running your app outside of the browser.
精彩评论