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

Silverlight Menu opens behind the HTMLContentPlaceHolder.

22 Answers 254 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Ishvinder
Top achievements
Rank 1
Ishvinder asked on 04 Jun 2009, 02:28 PM
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

22 Answers, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 04 Jun 2009, 04:04 PM
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.
0
Terry
Top achievements
Rank 1
answered on 18 Nov 2009, 09:49 PM
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
0
Tihomir Petkov
Telerik team
answered on 19 Nov 2009, 09:18 AM
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.
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 24 Nov 2009, 09:11 PM
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
0
Bobi
Telerik team
answered on 25 Nov 2009, 07:25 AM
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.
0
CSurieux
Top achievements
Rank 2
answered on 27 Nov 2009, 09:17 AM
Hello,

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

CS
0
Kiril Stanoev
Telerik team
answered on 30 Nov 2009, 12:16 PM
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.
0
Paul
Top achievements
Rank 1
answered on 02 Feb 2011, 02:43 PM
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
0
Kiril Stanoev
Telerik team
answered on 07 Feb 2011, 01:26 PM
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>>
0
Asif Hossain
Top achievements
Rank 1
answered on 22 Nov 2012, 11:43 AM
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..
0
Pavel R. Pavlov
Telerik team
answered on 27 Nov 2012, 11:45 AM
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 >>

0
Jeff
Top achievements
Rank 1
answered on 17 Jul 2013, 09:04 AM
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
0
Pavel R. Pavlov
Telerik team
answered on 19 Jul 2013, 04:52 PM
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 >>
0
Jan
Top achievements
Rank 1
answered on 27 Aug 2013, 01:50 PM
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?
0
Pavel R. Pavlov
Telerik team
answered on 30 Aug 2013, 10:25 AM
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 >>
0
Jeff
Top achievements
Rank 1
answered on 10 Sep 2013, 06:01 AM
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
0
Pavel R. Pavlov
Telerik team
answered on 12 Sep 2013, 08:46 AM
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 >>
0
sai
Top achievements
Rank 1
answered on 16 Apr 2015, 01:50 PM

Hi, 

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

Thanks,

sai

0
Pavel R. Pavlov
Telerik team
answered on 17 Apr 2015, 09:44 AM
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.

 
0
Licenses
Top achievements
Rank 1
answered on 17 Sep 2015, 08:53 PM

Hi!, 2015, some solution?

tnks

0
Jan
Top achievements
Rank 1
answered on 18 Sep 2015, 06:55 AM
[quote]Licenses said:

Hi!, 2015, some solution?

tnks

[/quote]

Nope. 

 

0
Martin Ivanov
Telerik team
answered on 18 Sep 2015, 02:09 PM
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
Tags
HTMLPlaceHolder
Asked by
Ishvinder
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Terry
Top achievements
Rank 1
Karlkim Suwanmongkol
Top achievements
Rank 1
Bobi
Telerik team
CSurieux
Top achievements
Rank 2
Kiril Stanoev
Telerik team
Paul
Top achievements
Rank 1
Asif Hossain
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Jeff
Top achievements
Rank 1
Jan
Top achievements
Rank 1
sai
Top achievements
Rank 1
Licenses
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or