SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a silverlight control, which i can't set the windowless property to the control. So, is there any way to display html content on top of the silverlight control without setting the windowless property?

Any help is much appreciated..

share|improve this question

If you need the HTML to be displayed on top of the silverlight, you need to make an overlay DIV with css:

position: absolute; 
z-index: 9999; // Adjust z-index to make sure sharepoint modal dialog and dropdowns is still above it 
height: 100%; 
width: 100%; 

Within this DIV, you place the rest of the stuff you to be displayed above the silverlight.


<div style="position: absolute; z-index: 9999; height: 100%; width: 100%;">
    <div class="MyClass">
        This is where you place the content which shall be shown on top
        of the silverlight component.

Hope this helps :)

share|improve this answer
NO..that won't help...As i already tried that one also.Actually silver light control renders to the windows in a different layer where Z-index can be applied on the same layer.So,making it position absolute and Z-index high won't work in this case. – Ramy Sep 20 '12 at 4:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.