WPF WebBrowser in DocumentWindow dissappears when rafted

Docking/MDI for WPF Forum

Posted 8 years ago by Marc Ziss
Version: 11.2.0551
Avatar
I'm trying to use the WPF WebBrowser control (not the winforms version) and whenever I raft the window the browser content disappears; when re-docked it re-appears. I've seen that there is documentation on using the browser window in winforms, but not the wpf browser control; I'm pretty sure this is a bug. Anyone know a workaround?

Thanks
Marc

The code I'm using:

<Grid>
<docking:DockSite CanDocumentWindowsRaft="True" UseHostedAutoHidePopups="False" >
<docking:Workspace>
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer>
<docking:DocumentWindow Title="Text">
<StackPanel ><TextBlock>Hello</TextBlock></StackPanel>
</docking:DocumentWindow>
<docking:DocumentWindow Title="Web browser">
<WebBrowser x:Name="browser" Source="http://www.google.com" />
</docking:DocumentWindow>
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:Workspace>
</docking:DockSite>
</Grid>
</Window>

Comments (2)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Marc,

That was a bug that was introduced in the first 2011.2 build. We fixed it in yesterday's build 551. Please download and use that instead.


Actipro Software Support

Posted 8 years ago by Marc Ziss
Avatar
Just installed it and it fixed my issue. Great (and fast) Job!
Marc
The latest build of this product (v2019.1 build 0684) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.