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

[Solved] Window not opening if Silverlight present

1 Answer 52 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eric
Top achievements
Rank 1
Veteran
Iron
Eric asked on 12 Dec 2012, 09:51 PM
I have had great success using Window in my MVC 3 application, however, I have one page that displays a Silverlight control, and this is the one page where Window does not open.  Instead, the text of my Window appears in the Title bar of the web browser, and no modal window appears.  If I simply pull the Silverlight control off of this page, the Window displays properly, so I know that this is the one item that is causing the issue.  Do you have any suggestions to resolve this concern?

1 Answer, 1 is accepted

Sort by
0
Eric
Top achievements
Rank 1
Veteran
Iron
answered on 13 Dec 2012, 03:24 PM
I found the solution to this in a jquery forum.  You must set a couple of properties of the Silverlight's object tag.
<param name="windowless" value="true" />             
<param name="background" value="transparent" />
Tags
Window
Asked by
Eric
Top achievements
Rank 1
Veteran
Iron
Answers by
Eric
Top achievements
Rank 1
Veteran
Iron
Share this question
or