I am trying to open a web page in my Windows Phone application. But, I am unable to open desired web page in its mobile form.
I am adding web browser in my XAML:
</Grid>
<phone:WebBrowser x:Name="wb" HorizontalAlignment="Left" Margin="0,10,0,0" Grid.Row="1" VerticalAlignment="Top" Height="686" Width="480" Loaded="wb_Loaded"/>
</Grid>
And this is my backend code in C#:
private void wb_Loaded(object sender, RoutedEventArgs e)
{
wb.Navigate(new Uri("http://facebook.com/mobile", UriKind.Absolute));
}
But I am unable to view the actual mobile web page of Facebook. This code makes Facebook to look very much ugly.
I tried with http://m.facebook.com
also, but this is also not helping.
Please suggest me, how can I correct this error to have actual mobile web page of Facebook in my application.