I have Asp.Net MVC application I have added Silverlight web app inside one of View Page of MVC. In my Silverlight app I have images that slides inside Border after a certain number of milliseconds.
I want to merge that application inside one of the page of MVC.
The problem is I can only see the Border and not the images that are embedded inside it.
Every browser says that No Plug-Ins are available for application. I installed and checked that plug-Ins for SL are available, still getting the same error message. I am using SL-3
I am using this inside Index.aspx page of MVC View:
<object data="data:application/x-silverlight-3," type="application/x-silverlight-3"开发者_如何转开发 width="400" height="300">
<param name="source" value="ClientBin/SilverlightApplication1.xap"/>
<param name="background" value="Red" />
</object>
These attributes:-
data="data:application/x-silverlight-3," type="application/x-silverlight-3"
are wrong, they should be:-
data="data:application/x-silverlight-2," type="application/x-silverlight-2"
In order to ensure it runs on silverlight 3 add:-
<param name="minRuntimeVersion" value="3.0.40818.0" />
精彩评论