I’m building a webapp on Windows Phone 7 and when i’m trying to load a certain webpage on the WebBrowser controller, all i get is the page background color and nothing else. Other pages are lodaed just fine.
On the device IE Brwoser the page showen with no problems at all.
Here is my XAML code:
<phone:WebBrowser IsScriptEnabled="True"
HorizontalAlignment="Stretch"
Margin="0,10,0,0"
Name="webBrowser"
VerticalAlignment="Stretch"
Height="Auto"
Width="Auto"
VerticalContentAlignment="Stretch"
HorizontalContentAlignment="Stretch"
ScriptNotify="webBrowser_ScriptNotify"
LoadCompleted="webBrowser_LoadCompleted"/>
Thanks.
Thanks for your help guys.
I figured this out.
My project was built for Windows Phone 7.0 and on the web page were use of some jQuery API that IE 7 is not supporting.
This is the reason why the the device browser load properly the page and the
WebBrowsercontroller didn’t.As soon as I changed the project to build for 7.1 the problem solved.