This is a migrated thread and some comments may be shown as answers.

WPF 'Frame' control not visible in floating window

29 Answers 614 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 26 Nov 2010, 01:05 PM
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.

29 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 01 Dec 2010, 12:22 PM
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
0
Tom
Top achievements
Rank 1
answered on 01 Dec 2010, 12:54 PM
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?
0
George
Telerik team
answered on 02 Dec 2010, 04:24 PM
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
0
James
Top achievements
Rank 1
answered on 08 Dec 2010, 07:16 PM
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?
0
George
Telerik team
answered on 14 Dec 2010, 10:31 AM
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
0
Tom
Top achievements
Rank 1
answered on 17 Mar 2011, 04:04 PM
Any update on this problem?
0
George
Telerik team
answered on 18 Mar 2011, 02:58 PM
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
0
Fabrizio
Top achievements
Rank 1
answered on 26 May 2011, 09:31 AM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 26 May 2011, 01:19 PM
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
0
Michael
Top achievements
Rank 1
answered on 26 Aug 2011, 04:05 PM
This issue is showstopper for us too.

Is there a ticket in PITS that I can vote and track?
0
Miroslav Nedyalkov
Telerik team
answered on 30 Aug 2011, 12:53 PM
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 >>

0
Michael
Top achievements
Rank 1
answered on 30 Aug 2011, 03:32 PM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 31 Aug 2011, 08:35 AM
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 >>

0
Tobias
Top achievements
Rank 1
answered on 19 Oct 2011, 12:43 PM
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.
0
Miroslav Nedyalkov
Telerik team
answered on 20 Oct 2011, 09:20 AM
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 >>

0
Tobias
Top achievements
Rank 1
answered on 27 Oct 2011, 03:23 PM
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?
0
Miroslav Nedyalkov
Telerik team
answered on 27 Oct 2011, 04:21 PM
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 >>

0
Tobias
Top achievements
Rank 1
answered on 27 Oct 2011, 04:35 PM
Great!

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

Thanks in advance!
0
Miroslav Nedyalkov
Telerik team
answered on 28 Oct 2011, 09:12 AM
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 >>

0
Calvin
Top achievements
Rank 2
answered on 17 Nov 2011, 02:15 AM
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!
0
Miroslav Nedyalkov
Telerik team
answered on 17 Nov 2011, 09:46 AM
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 >>

0
Calvin
Top achievements
Rank 2
answered on 17 Nov 2011, 07:02 PM
Got it working.  Thanks!
0
Spurk
Top achievements
Rank 1
answered on 03 Oct 2012, 05:06 PM
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!
0
Spurk
Top achievements
Rank 1
answered on 03 Oct 2012, 09:25 PM
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!
0
shay
Top achievements
Rank 1
answered on 01 Jun 2015, 11:36 AM

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

 

0
Kalin
Telerik team
answered on 03 Jun 2015, 10:57 AM
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
0
shay
Top achievements
Rank 1
answered on 04 Jun 2015, 06:54 PM
HI Kalin, it solve this issue.

Thanks :)

0
Kabir
Top achievements
Rank 1
answered on 11 Jan 2017, 06:26 PM

Hello,

I can see that the above reply was given 6 years ago. I am getting a similar problem with the latest version of Telerik. Can you please tell me whether this bug has been fixed now?

Thanks

Kabir Jami

0
Kabir
Top achievements
Rank 1
answered on 11 Jan 2017, 06:52 PM

It's working now using the example published above!

Thanks

Tags
Docking
Asked by
Tom
Top achievements
Rank 1
Answers by
George
Telerik team
Tom
Top achievements
Rank 1
James
Top achievements
Rank 1
Fabrizio
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Michael
Top achievements
Rank 1
Tobias
Top achievements
Rank 1
Calvin
Top achievements
Rank 2
Spurk
Top achievements
Rank 1
shay
Top achievements
Rank 1
Kalin
Telerik team
Kabir
Top achievements
Rank 1
Share this question
or