Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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.

Example:

<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.
    </div>
</div>

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

 
discard

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.