tags:

views:

15

answers:

0

Hi there,

probably the answer is simple and maybe someone wants to hit me, but obviously i'm stuck right now.

I want to integrate a Silverlight XAP into a fubumvc view page. I am using the HelloWorld sample and enter the following into the page.

   <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>

Running this code in a simple html file works fine. The XAP is placed in the same folder as the view page/html file.

cheers, Jan