Silverlight Menu opens behind the HTMLContentPlaceHolder.

23 posts, 0 answers
  1. Ishvinder
    Ishvinder avatar
    1 posts
    Member since:
    May 2009

    Posted 04 Jun 2009 Link to this post

    Hi,

    I have couple of HTMLContentPlaceHolders on my silverlight application, and I want to get my DropDown Menu which is in Silverlight and part of my Header to be displayed above the HTMLPlaceHolder but instead it opens behind the HTMLContent, I also tried specifying the z-index but in vain.

    Has someone encountered this problem? Any help would be appreciated?

    Thanks,
    Ishvinder
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 04 Jun 2009 Link to this post

    Hello Ishvinder,

    The content of the RadHtmlPlaceholder is rendered in an IFRAME element, which floats above everything else on the page. This is why if the RadHtmlPlaceholder content overlaps with another element, that element will always be covered. So, if you want to avoid this unpleasant effect you have to be careful to position the elements on your page accordingly.

    Greetings,
    Tihomir Petkov
    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. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 18 Nov 2009 Link to this post

    Hi:

    This is going to be a problem for me.  I have a multi-level menu on the left that flies out most of the way across the HtmlPlaceHolder to the right, so I can't position the frame to avoid it.  There's no room.  Can I do something like make the control invisible or maybe 50% opaque in a menu mouseover event?

    What is the best way to deal with this?

    Thanks,

    Terry
  5. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 19 Nov 2009 Link to this post

    Hello Terry,

    Setting the Visibility of the HtmlPlaceholder to Collapsed would certainly work. As for reducing the opacity - this will not do the trick. I guess hiding the HTML content while a menu popup is visible will not be very pleasing visually, so you may think of showing some sort of image (screenshot?) in the place of the hidden HtmlPlaceholder.

    All the best,
    Tihomir Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Karlkim Suwanmongkol
    Karlkim Suwanmongkol avatar
    41 posts
    Member since:
    Aug 2012

    Posted 24 Nov 2009 Link to this post

    Hi Telerik,
       I have seen several threads talking about this RadHTMLPlaceHolder issue with tooltips, menus, and popups. Do you have a plan to resolve this in the near future? Or this is technically not feasible to fix.

    Thanks,
    Karlkim
  7. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 25 Nov 2009 Link to this post

    Hello Terry,

    We do not have any plans to implement this functionality for the near future.
    However we will consider your suggestion.
    We apologize if this caused you any inconvenience.

    All the best,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 27 Nov 2009 Link to this post

    Hello,

    Same layer problem trying to use HTMLContentPlaceHolder in a RadBook, pages turn behind placeholder....
    Unusable as this.

    CS
  9. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 30 Nov 2009 Link to this post

    Hello Christian,

    This is a known disadvantage of RadHtmlPlaceholder. RadHtmlPlaceholder is merely an IFrame that sits on top of the Silverlight plugin. That is why it cannot be used in RadBook. With Silverlight 4, html integration will be much tighter and we will be able to cover this scenario, but for the moment, what your are trying to achieve is not possible.

    Kind regards,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  10. Paul
    Paul avatar
    12 posts
    Member since:
    Jun 2009

    Posted 02 Feb 2011 Link to this post

    Hello,

    It is now 2011, we have Silverlight 4, but this problem still exists. Will there be a fix for this? I can see lots of people want this, but it seems to be low on your priority list.

    Cheers,

    Paul
  11. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 07 Feb 2011 Link to this post

    Hi Christian,

    Let me try and explain why RadBook cannot be integrated with RadHtmlPlaceholder and display external pages (google.com, yahoo.com etc). In its core, RadHtmlPlaceholder is an IFrame element that is rendered on top of the Silverlight plugin. This means that it is impossible to apply transformations (ex: clipping, rotation etc) to RadHtmlPlaceholder since it is out of the scope of the Silverlight plugin. On the other hand, RadBook heavily uses clippings and render transformations (rotate, translate and skew) to produce the "page flip" effect.

    There are couple of possibilities to display HTML content within RadBook. In an Out-Of-Browser application, you can use RadBook with WebBrowser control as a page. Please have a look at the attached project which demonstrates one possible way to accomplish this scenario.

    Another possibility is to integrate RadRichTextBox and RadBook. Please take a look at this project for more information.

    Let me know if you have further questions or comments regarding this topic. I'd be glad to continue the discussion with you.

    Regards,
    Kiril Stanoev
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  12. Asif Hossain
    Asif Hossain avatar
    4 posts
    Member since:
    Nov 2012

    Posted 22 Nov 2012 Link to this post

    Hi,
    I am using the RadHTMLPlaceHolder in silverlight out-of-browser application. Problem is, my jquery tooltip (http://code.drewwilson.com/entry/tiptip-jquery-plugin is used and passed through html source to the RadHTMLPlaceHolder) can only be seen partially because of other grid elements.
    ::::
     <Border Grid.Row="6" Grid.ColumnSpan="2"  Canvas.ZIndex="5000" Width="auto"  Height="auto" BorderBrush="#000000" BorderThickness="1" CornerRadius="5">
     
                <telerik:RadHtmlPlaceholder  VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
                                        x:Name="Body" Loaded="Body_Loaded" />
            </Border>

    ::::::::::::::
    What can be solution ?
    Thanks in advance..
  13. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 27 Nov 2012 Link to this post

    Hi Hossain,

    Our RadHtmlPlaceholder is visualized on top of everything in the Silverlight plug-in, hence there is no other way to show HTML content in Silverlight. We strongly suggest to our clients to use the RadHtmlPlaceholder in combination with our RadWindow control for best performance.You can take a look at our help documentation for more information.

    All the best,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  14. Jeff
    Jeff avatar
    9 posts
    Member since:
    Jul 2013

    Posted 17 Jul 2013 Link to this post

    Kiril,
    Any updates on overlapping HTML Content Place Holder over Telerik Menu? I have my application statistical data in HtmlPlaceHolder (dashboard) and Menu above it. When Menu opens it goes behind the placeholder. 

    Please suggest any solution for it! Any updates in newer release?

    Thanks,

    Jeff
  15. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 19 Jul 2013 Link to this post

    Hello Jeff,

    Please accept my apology for not making myself clear with my previous post. Basically, you are not allowed to visualize any HTML content inside the Silverlight plug in. This is why we designed the RadHtmlPlaceholder control to be visualized on top of the Silverlight plugin. Hence everything hosted inside the plug in will be hidden under the RadHtmlPlaceholder control. This behavior is by design.

    In your certain implementation the RadMenu control is part of the Silverlight plugin and this is why it hides behind the RadHtmlPlaceholder. In order to overcome this behavior you can consider hiding the RadHtmlPlaceholder control when you open the RadMenu. If you host the RadHtmPlaceholder inside a RadWindow control you will be able to use the RadWindow.Show() and RadWindow.Close() methods to achieve such behavior.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  16. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 27 Aug 2013 Link to this post

    You said: " Hence everything hosted inside the plug in will be hidden under the RadHtmlPlaceholder control. This behavior is by design."

    We've seen this behaviour in a test project we did. You said it is by design, so I assume there are no plans to change this? 
    That would mean that it wouldn't be a good idea to use the Html Placeholder control in an MDI-like application, where windows can be moved all around the parent window they're in. 

    Am I right?
  17. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 30 Aug 2013 Link to this post

    Hi Jan,

    You are right that we do not plan to change the design of the RadHtmlPlaceholder control.

    On the other hand, I am not sure that I fully understand your requirements. If you elaborate more on the required layout we can think of a way to achieve it with our controls.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  18. Jeff
    Jeff avatar
    9 posts
    Member since:
    Jul 2013

    Posted 10 Sep 2013 Link to this post

    Hi Pavel,
    I understand the layers of HTML and Silverlight one over another. May I suggest if any parser for HTML to XAML conversion! If it can, we may overcome this problem of over leaping.
    Thanks,
    Jeff
  19. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 12 Sep 2013 Link to this post

    Hi Jeff,

    Basically HTML and XAML are completely different platforms and we are not aware of the existence of any converter that can be used.

    However, you can post you request in some of the Microsoft's forums and see what their statement is.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  20. sai
    sai avatar
    10 posts
    Member since:
    Apr 2014

    Posted 16 Apr 2015 in reply to Tihomir Petkov Link to this post

    Hi, 

    Do we have any better solution than collapsing HtmlPlaceholder by now? This post was some 6 years old.

    Thanks,

    sai

  21. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 17 Apr 2015 Link to this post

    Hello Sai,

    The design of the RadHtmlPlaceholder is not changed. Hence, it is still hosted on top of the Silverlight plugin. Also, we do not have plans to change the design of the control in future releases. This is why hiding the component is still the recommended approach in such scenarios.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  22. Licenses
    Licenses avatar
    10 posts
    Member since:
    Sep 2011

    Posted 17 Sep 2015 in reply to Kiril Stanoev Link to this post

    Hi!, 2015, some solution?

    tnks

  23. Jan
    Jan avatar
    58 posts
    Member since:
    May 2010

    Posted 18 Sep 2015 in reply to Licenses Link to this post

    Licenses said:

    Hi!, 2015, some solution?

    tnks

    Nope. 

     

  24. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 18 Sep 2015 Link to this post

    Hi,

    No, currently RadHtmlPlaceHolder behaves in the same manner as Pavel explained. The html content is rendered in an IFrame element that is positioned over the Silverlight plugin which is the reason why the described behavior is observed.

    Regards,
    Martin
    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
Back to Top
DevCraft banner