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

The Html content is removed from the RadHtmlPlaceHolder control

7 Answers 71 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Erik Damgaard
Top achievements
Rank 1
Erik Damgaard asked on 13 Jun 2011, 12:25 PM

 

Hi Admin,
I noticed a problem related to HtmlPlaceHolder. We are using HtmlPlaceHolder to show the content of a html page in a ChildWindow control. But here I have noticed that the HtmlContent is loading peoperly ,but while dragging the ChildWindow the HtmlContent is removed from the control itself. Please help me to finding out the problem. I will send you one screen shot related to my problem.I hope you can help me solving the problem.Incase you need my application .Please convert my thread to a support ticket so that I can send you my application.
Thanks

7 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 Jun 2011, 09:27 AM
Hi Erik Damgaard,

We are aware of this issue in the RadHtmlPlaceHolder when hosted in ChildWindow. We highly suggest you to use RadWindow instead of ChildWindow in this scenario. Please let us know if you need further assistance. We would be glad to help you further.

Regards,
Petar Mladenov
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
Oded Zadok
Top achievements
Rank 1
answered on 19 Jun 2011, 07:21 AM
Hi,

I have the same problem. I'm using several RadWindow, and each one of them host a RadHtmlPlaceHolder.
When i focus between the RadWindow's or move one of the RadWindow the content of the RadHtmlPlaceHolder removed/unload.

Thanks,
Oded.


0
Kiril Stanoev
Telerik team
answered on 22 Jun 2011, 02:05 PM
Hi Oded Zadok,

Try setting the KeepContentInMemory property to true:

<telerik:RadWindow x:Name="window1" Width="500" Height="500">
    <telerik:RadHtmlPlaceholder SourceUrl="http://www.google.com" KeepContentInMemory="True" />
</telerik:RadWindow>
 
Let me know if this helps.

Greetings,
Kiril Stanoev
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
Oded Zadok
Top achievements
Rank 1
answered on 22 Jun 2011, 04:14 PM
Hi,

I've done it already, but isn't solved to problem.
It's append when you have more the one RadWindow (none modal...) opened.

For example try to open a RadWindow which contain a RadHtmlPlaceHolder and second RadWindow in a none modal.
When u change focus between the RadWindow's the RadHtmlPlaceHolder will be removed from is host.

It's seem like the RadWindow Control clear is content, when there are more then one RadWindow open.

Oded.

 
0
Kiril Stanoev
Telerik team
answered on 27 Jun 2011, 03:47 PM
Hi Oded,

I wasn't able to reproduce the issue. Please take a look at this video and the attached application and let me know if I am missing anything.

Greetings,
Kiril Stanoev
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
Oded Zadok
Top achievements
Rank 1
answered on 29 Jun 2011, 01:08 PM

Hi,

The KeepContentInMemory="True" && fixing a bug of my solved the issue
J

Buy it seem like there is a problem when RadWindow host MediaElement or RadMediaPlayer Control.

For example:

 - Open FIRST RadWindow which host MediaElement and set the Source to some WMV file (URL)

 - Open Second  RadWindow which host MediaElement and set the Source to some WMV file (URL)


Try to change the focus between them, the media start to play from the beginning each time you focus on some RadWindow

Thanks,

Oded.

0
Petar Mladenov
Telerik team
answered on 04 Jul 2011, 01:32 PM
Hello Oded Zadok,

The RadWindow uses a Popup internally and this Popup reloads its content every time it has been clicked which is a common Silverlight issue actually. The good news is that we have re-factored the RadWindow and it does not use Popups already. I tried your scenario with the our latest development version of RadControls and the issue was gone. You will be able to use this re-factored RadWindow with the upcoming Q2 Official Release scheduled for 13 July.

Best wishes,
Petar Mladenov
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
Tags
HTMLPlaceHolder
Asked by
Erik Damgaard
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Oded Zadok
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or