RadPane not displaying WebBrowser content while floating

8 posts, 0 answers
  1. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 10 Oct 2012 Link to this post

    I've got a WebBrowser control nested inside a RadPane ... I've pointed it at http://loremipsumtext.com/ for some dummy content.  The content shows fine when pinned...but the RadPane is blank when simply floating.

    Any suggestions?
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 15 Oct 2012 Link to this post

    Hi Sheldon,

    When a Pane is in floating state it is placed in chromeless transparent window, in order to show a WebBrowser control inside a Pane in floating state you will need to customize the GeneratedItemsFactory of the Docking control.

    We created and attached a sample project for you showing how to place a WebBrowser in RadPane, give it a try.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 15 Oct 2012 Link to this post

    Greetings Vladi,

    Ok, yes, in your test project it is working while undocked & floating... however, docked & unpinned doesn't work (see attachments).  It works when pinned, but when unpinned, the RadPane is blank.

    Any assistance is greatly appreciated.
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 18 Oct 2012 Link to this post

    Hello Sheldon,

    This is a known issue in WPF popups. As the autohide area in RadDocking is a WPF popup in order to show the WebBrowser control you will need to change the AllowsTransparency to false in the theme you are using. The easiest way of achieving this is by using Implicit Styles.

    If you are using Implicit Styles, after merging the needed dictionaries you will need to open the Telerik.Windows.Controls.Docking.xaml file and change the AllowsTransparency property in all of the popups to false.

    We created and attached a sample project for you to take a look at, note that by changing the AllowsTransparency property a black background behind the AutoHide area will appear, which cannot be covered unless the AllowsTransparency is set to true.

    Hope this helps.

    Regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Oct 2013

    Posted 13 Jan Link to this post

    Hi, I have the same problem. When the pane is floating it's content is lost. But when the pane is part of DockingPanel to docking - content comes back and apllication work correctly.

    May be this information will be useful:
    content of each pane is UserControl 

    We made one modification in pane's content view : Set UserControl property: x:ClassModifier="internal". 
    This modification we implement in all UserControls, but some panes work correctly, some with content losing.
  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 Jan Link to this post

    Hi Dmitriy,

    Just to clarify, you have used the previously discussed approach of setting False value to the AllowsTransparency of the Popup placed inside the ControlTemplate with x:Key="AutoHideAreaTopTemplate". If this is true and you are still experiencing issues where the content of a floating RadPane is not showing, could you open a new support thread and in that thread describe your scenario in greater details. This will help us further investigate the exact scenario of your project.

    Regards,
    Vladi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  8. Dmitriy
    Dmitriy avatar
    5 posts
    Member since:
    Oct 2013

    Posted 14 Jan in reply to Vladi Link to this post

    No, this way can't solve our problem, if I understand you correctly. Attache screen for confirmation.
    But I find uncorrect behavior of inside/floating RadPanes:

    1. If we have 1 or more RadPanes inside RadDockingPanel, content of floating RadPanes display correctly
    2. If we have not RadPanes inside RadDockingPanel, content is dissapear

    Attache screens for demonstration
  9. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 18 Jan Link to this post

    Hello Dmitriy,

    If we understand you correctly you are having trouble when placing content other than a RadPane instance directly in RadPaneGroup/RadSplitContainer. Please note that this is not supported in the current version of the RadDocking control. The control has a strict structure patter (RadDocking > RadSplitContainer > RadPaneGroup > RadPane > "any content") which should be followed in order for all of the built-in features of the control to work as expected. You can take a look at this article from our online documentation that goes through on how the layout of the control could be setup.

    If we have missed something could you open a new support thread and in it send as a sample project that showcases the observed issue on your side. This would help us further investigate the discussed scenario.

    Regards,
    Vladi
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready