htmlplaceholder and radwindow

6 posts, 0 answers
  1. david
    david avatar
    25 posts
    Member since:
    Oct 2008

    Posted 22 Apr 2009 Link to this post

    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.
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 23 Apr 2009 Link to this post

    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.
  3. DevCraft banner
  4. Ven
    Ven avatar
    2 posts
    Member since:
    Mar 2009

    Posted 23 Jul 2009 Link to this post

    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.

  5. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 24 Jul 2009 Link to this post

    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.
  6. Siddharth
    Siddharth avatar
    1 posts
    Member since:
    Jan 2013

    Posted 16 Jan 2013 Link to this post

    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
  7. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 21 Jan 2013 Link to this post

    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.

Back to Top
DevCraft banner