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

htmlplaceholder and radwindow

5 Answers 265 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 22 Apr 2009, 10:55 AM
Hi,

when I place a htmlplaceholder on a radwindow, it shows ok
but when I move the window the htmlplaceholder does not move with the
window.

david

I discovered that I have a huge processor load when my radwindow is showing, this could be my problem
with not moving the htmlplaceholder.

But I have two more questions with the htmlplaceholder:
.1. is it possible to hide the scrollbars when the content is exceeding the size of the htmlplaceholder?
 2. the htmlplaceholder is always on top of everything, can this be changed?

david.

5 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 23 Apr 2009, 12:06 PM
Hello david,

RadHtmlPlaceholder automatically adds ScrolBars if the content is bigger than the placeholder.
The HtmlPlaceholder control always statys on top of any  Silvrelight control that is part of the application. This is so because we are overlaying the html content directly over the whole Silverlight plugin.

In cases which require Silverlight controls using popups, e.g. Menu, ComboBox, Window, the only way to workaround the incorrect stacking of elements that results is to temporarily hide the HtmlPlaceholder while Silverlight popups are visible.

You can take a look at the following example:
http://demos.telerik.com/silverlight/#HtmlPlaceholder/WindowIntegration

Let me know if this helps.

All the best,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ven
Top achievements
Rank 1
answered on 23 Jul 2009, 03:44 PM
Hi Boryana,
                  First of all, the link given by you is not working. Moreover, I am also facing a similar kind of issue. First of all, my RadHtmlPlaceHolder is hosted inside a RadPane of a RadDocking control. Though the content is getting displayed inside the place holder, when I resize or dock or pin the pane, it screws up the alignment of the RadHtmlPlaceHolder. Also, when I try to reduce the size of the RadPane container, I am facing issues. In short, I am not able to resize the RadPane due to the RadHtmlPlaceHolder. Please help me.

0
Bobi
Telerik team
answered on 24 Jul 2009, 11:00 AM
Hello Ven,

The link is already fixed.
Please take a look at the following online example:

http://demos.telerik.com/silverlight/#HtmlPlaceholder/WindowIntegration
http://www.telerik.com/help/silverlight/radhtmlplaceholder-howto-radwindowintegration.html

As to the second question:
The reason why the resizing is not working as expected when you put HTMLPlaceholder  in a pane is that it  put HTML content over the Silverlight plugin and when the mouse is over this HTML content the Silverlight plugin doesn't catch the mouse events. You can avoid this problem by setting the ShowResizePreview property of the Docking control to False. This will force the Docking control to resize its content while you are moving the resizer instead of showing just a preview.

You can also take a look at this discussion:

http://www.telerik.com/community/forums/silverlight/dockpanel/raddock-and-radhtmlplaceholder.aspx

I hope that this will help you, if not please send us some sample project in order to fix it.

Greetings,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Siddharth
Top achievements
Rank 1
answered on 16 Jan 2013, 07:31 PM
Hi Boryana,

I am using html placeholder in rad window I am facing an issue when I am trying to scroll down the contents of Htmlplaceholder are not moving along with the scroll.i am using in the same way as the examples given by telerik.
please help
0
Pavel R. Pavlov
Telerik team
answered on 21 Jan 2013, 11:57 AM
Hi Siddharth,

I tried to reproduce your issue and it seems that the code works as expected on our side. Can you please take a look at the attached project and see if I missed something? Also, keep in mind that the RadHtmlPlaceholder control depends on the style settings (overflow, scrolling attributes) of the page that hosts the Silverlight plug-in. Hence you can control the behavior using those settings.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
HTMLPlaceHolder
Asked by
david
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Ven
Top achievements
Rank 1
Siddharth
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or