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
>
Thanks
Tom Davies
Peavey Digital Research.
29 Answers, 1 is accepted
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
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.
George
the Telerik team
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.
George
the Telerik team
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.
George
the Telerik team
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.
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
Is there a ticket in PITS that I can vote and track?
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 >>
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.
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.
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 >>
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.
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 >>
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 >>
But you missed to answer my other question: How do I make use of the change?
Thanks in advance!
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 >>
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!
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.
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
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!
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
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
Thanks :)
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
It's working now using the example published above!
Thanks