WPF 'Frame' control not visible in floating window

28 posts, 0 answers
  1. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 26 Nov 2010 Link to this post

    Hi

    I've got an app with some Telerik Docking contols, and in one of the RadPanes is a WPF Frame control, displaying a webpage. This works fine when the pane is docked, but when I undock the pane, the content disappears. It re-appears when I re-dock the pane. Any idea what is happening here?

    XAML:
    <telerik:RadPane Header="Test" CanDockInDocumentHost="False" Name="Tese"
    ContextMenuTemplate="{x:Null}">
        <telerik:RadPane.Content>
            <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
         </telerik:RadPane.Content>
    </telerik:RadPane>

     <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                                <telerik:RadPane.Content>
                                    <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                    </telerik:RadPane.Content>
                            </telerik:RadPane>
     <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                                <telerik:RadPane.Content>
                                    <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
      
     <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                                <telerik:RadPane.Content>
                                    <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                    </telerik:RadPane.Content>
                            </telerik:RadPane>
                                 </telerik:RadPane.Content>
      
     <telerik:RadPane Header="Help" CanDockInDocumentHost="False" Name="Help" ContextMenuTemplate="{x:Null}">
                                <telerik:RadPane.Content>
                                    <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
                                    </telerik:RadPane.Content>
                            </telerik:RadPane>
                         </telerik:RadPane>


    Thanks
    Tom Davies
    Peavey Digital Research.
  2. George
    Admin
    George avatar
    1332 posts

    Posted 01 Dec 2010 Link to this post

    Hello Tom,

    We are aware of this problem. Unfortunately, this limitation is placed very deep in the architecture of RadDocking control and there is no workaround for this. Sorry for any inconvenience caused.

    Please do not hesitate to contact us if you require any further information.  

    Sincerely yours,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    Does this bug affect other WPF controls other than Frame, or is Frame the only one affected? This seems like it could be quite a serious bug, are there any plans to fix it?
  5. George
    Admin
    George avatar
    1332 posts

    Posted 02 Dec 2010 Link to this post

    Hi Tom,

    It affects all WPF controls that render html. For example, the same issue can be reproduced with the WebBrowser control. This is a limitation of the RadDocking at this stage. Sorry for any inconvenience caused again.

    All the best,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  6. James
    James avatar
    1 posts
    Member since:
    May 2010

    Posted 08 Dec 2010 Link to this post

    I am having the same problem too, but with winform control rather than a frame. I can still interact with the controls in the winform control, just not see it. Is there an ETA on when this would be fixed?
  7. George
    Admin
    George avatar
    1332 posts

    Posted 14 Dec 2010 Link to this post

    Hello James,

    When a pane goes floating, actually it is placed in a chromeless window. Unfortunately, placing a WindowsFormsHost in a chromeless window is not supported scenario in WPF. If you debug it, you will see that the host is still there, but it is not visible. This is a limitation of the RadDocking at this stage. We sorry for any inconvenience caused.

    We consider targeting this problem, but this limitation is located very deep in the architecture of the RadDocking and this makes the issue hard to be fixed.  
     

    Best wishes,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  8. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 17 Mar 2011 Link to this post

    Any update on this problem?
  9. George
    Admin
    George avatar
    1332 posts

    Posted 18 Mar 2011 Link to this post

    Hi Tom,


    Unfortunately, we had some difficulties and we couldn't make it for this Q1 2011 release. We will try our best to add the fix for one of the Service packs or for the Beta Q2.  


    Regards,
    George
    the Telerik team
  10. Fabrizio
    Fabrizio avatar
    1 posts
    Member since:
    May 2011

    Posted 26 May 2011 Link to this post

    Hello,
    any chance that this issue could get fixed in the next couple of months? Actually it's the only issue that is preventing us from buying your products, therefore knowing that it will be fixed for sure in the near future will help us decide for the better.
  11. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 26 May 2011 Link to this post

    Hello Tom,

    We are currently working on the Docking control, but placing WindowsFormsHost and WebBrowser controls inside floating panes is not going to be supported yet. The reason is the same that Georgi already explained. We will change the logic, but cannot show those controls in windows with hidden default chrome (the border that comes from Windows). We hide this default border in order to draw our own border with our theme. Using the default window borders as borders of the ToolWindows is not planned yet, so most probably it will not be ready for 2011 Q2. We will do our best to do it for 2011 Q2 SP1. Hope this time-frame is good for you.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  12. Michael
    Michael avatar
    23 posts
    Member since:
    Jun 2012

    Posted 26 Aug 2011 Link to this post

    This issue is showstopper for us too.

    Is there a ticket in PITS that I can vote and track?
  13. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 30 Aug 2011 Link to this post

    Hello Michael,

     You can track the progress of this matter using this PITS item. It is about the RadWindow control, but the Docking ToolWindows and RadWindows share the same codebase, so the feature will come to both controls.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  14. Michael
    Michael avatar
    23 posts
    Member since:
    Jun 2012

    Posted 30 Aug 2011 Link to this post

    The Issue ID 7628 (Add option to use non transparent Window) seems absolutely irrelevant to the problem described in this thread.
    Maybe it will be good idea to create another Issue that more descriptive so people can vote for it. Currently there is no votes (except one that I gave) and it will not be prioritized properly.
  15. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 31 Aug 2011 Link to this post

    Hello Michael,

     I added a comment that will help the people to understand that this is about the Window and the Docking control. I added the issue for the window as the code change should be there and PITS is synchronized with our internal issue tracking system. The reason that nobody has voted yet is that the issue became public yesterday when I shared the link with you.

    Hope this helps.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  16. Tobias
    Tobias avatar
    8 posts
    Member since:
    Aug 2011

    Posted 19 Oct 2011 Link to this post

    The 2011 Q2 SP1 is now released and when looking at the issue with ID 7628 it's not fixed yet.

    What are your plans on the issue, are you planning to fix it in the near future?

    It's a big problem for us as well.
  17. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Oct 2011 Link to this post

    Hello Tobias,

    We decided to include this in the 2011 Q3 release as it is a new feature. The beta version of the Q3 release will be released this week. We updated the PITS item.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  18. Tobias
    Tobias avatar
    8 posts
    Member since:
    Aug 2011

    Posted 27 Oct 2011 Link to this post

    I see now that the PITS item is marked as resolved, is it included in the Q3 beta? If so, how do I use the fix?
  19. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 27 Oct 2011 Link to this post

    Hi Tobias,

    Yes, it is included in the 2011 Q3 beta version of RadControls for WPF.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  20. Tobias
    Tobias avatar
    8 posts
    Member since:
    Aug 2011

    Posted 27 Oct 2011 Link to this post

    Great!

    But you missed to answer my other question: How do I make use of the change?

    Thanks in advance!
  21. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 28 Oct 2011 Link to this post

    Hi Tobias,

    Yes, I'm really sorry for that. Please refer to the attached project.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  22. Calvin
    Calvin avatar
    42 posts
    Member since:
    Jul 2011

    Posted 16 Nov 2011 Link to this post

    I guess I'm confused by this thread.  This issue is resolved for embedded Windows Forms controls but not yet fixed for the WebBrowser control.  Is this correct?  If so, do you know when the WebBrowser support will be added?

    My use-case is the following.  I'd like to float a RadPane containing a WebBrowser control (that displays a web page hosting a Silverlight application) to a second monitor and maximize it there.  But the WebBrowser control is displaying nothing when the RadPane is floated using the 2011.3.1116.40 bits.

    Thanks!
  23. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 17 Nov 2011 Link to this post

    Hello Calvin,

    This limitation is resolved for any non-wpf content hosted in a ToolWindow. This includes the WebBrowser control. This scenario is not working by default - you need to use the code from the example I attached to this thread. We decided to disable this fix by default, because it affects the themes of the docking control as it disables the transparency of the ToolWindows.

    Hope this helps.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  24. Calvin
    Calvin avatar
    42 posts
    Member since:
    Jul 2011

    Posted 17 Nov 2011 Link to this post

    Got it working.  Thanks!
  25. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 03 Oct 2012 Link to this post

    Hi Miroslav,

    Your project crashes when using the pin / unpin. Can you offer assistance?  I am too attempting to put a WebControl inside a RadPane. When I do so, it appears as though two RadPane's exist. I'm assuming the problem I'm having is related to this thread.

    My environment:
    Blend Preview for Visual studio 2012
    Visual Studio Premium 2012
    RadControls_for_WPF_2012_1_0326_Dev.msi

    Any help would be greatly appreciated!
  26. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 03 Oct 2012 Link to this post

    I tried creating a test project to see if the behaviour was the same in a sandbox, and it was not. I went back to my project and flushed my dock out and put the elements back in and the issue went away.  Fixed!
  27. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 01 Jun 2015 Link to this post

    Hi

    I am using Telerik.Windows.Controls version = 2014.3 

    I tried to reproduce the problem from the first post , and the problem still exist.

    what i am missing?

    XAML:

    <telerik:RadPane Header="Test" CanDockInDocumentHost="False" Name="Tese"
    ContextMenuTemplate="{x:Null}">
        <telerik:RadPane.Content>
            <Frame Name="HelpWebsite" Source="http://peaveyoxford.com/kc/index."></Frame>
         </telerik:RadPane.Content>
    </telerik:RadPane>


    Thanks

     

  28. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 03 Jun 2015 Link to this post

    Hello Shay,

    Please check the project attached in this post - it demonstrates how to display non-WPF content in the ToolWindow.

    Hope this helps.

    Regards,
    Kalin
    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
  29. shay
    shay avatar
    15 posts
    Member since:
    Jun 2015

    Posted 04 Jun 2015 in reply to Kalin Link to this post

    HI Kalin, it solve this issue.

    Thanks :)

Back to Top
UI for WPF is Visual Studio 2017 Ready