2

可能答案很简单,也许有人想打我,但显然我现在被困住了。

我想将 Silverlight XAP 集成到 fubumvc 视图页面中。我正在使用 HelloWorld 示例并在页面中输入以下内容。

   <object type="application/x-silverlight-2" data="data:application/x-silverlight-2,"
    width="700%" height="540">
    <param name="background" value="white" />
    <param name="source" value="MyApp.xap" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
        <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"
            style="border-style: none" />
    </a>
</object>

在一个简单的 html 文件中运行此代码可以正常工作。XAP 与视图页面/html 文件位于同一文件夹中。

4

0 回答 0