I want to display some HTML content in my WP7 application. I use WebBrowser and it works very well. However, my WebBrowser is inside a ScrollViewer, because I have some content that is not HTML on the same page. So, I made my WebBrowser non scrollable and fixed height. But control cannot be higher than 2048px, and I have some content that is larger than that. Therefore, it does not display the entire page, and the text is cut. Here is the code:
<ScrollViewer> <StackPanel Orientation="Vertical"> <Image Height="240" HorizontalAlignment="Center" Stretch="{Binding ImageStretch}" Width="Auto" Source="{Binding Image}" /> <TextBlock Text="{Binding Credit}" TextTrimming="WordEllipsis" /> <TextBlock Text="{Binding Description}" TextWrapping="Wrap" IsHitTestVisible="False" /> <phone:WebBrowser Width="Auto" IsScriptEnabled="True" ScriptNotify="WebBrowserScriptNotify" IsHitTestVisible="False" /> </StackPanel>
And here is a screenshot of the problem: 
So, is there any alternative to the WebBrowser control or is there a workaround?
thanks
source share