Using the Slide Show within a ASP.NET MVC Project

Dec 30, 2009 at 8:33 AM

Hi,

i'm just playing around with the slideshow and it works great in a "normal" ASP.NET test project - nice work!

But now I need the slideshow in my ASP.NET MVC Project and at the moment I have no idea what is wrong - I can't get it started. In my View the code looks loke this:

<object type="application/x-silverlight-2" data="data:application/x-silverlight-2," width="500" height="320">
        <param name="background" value="black" />
        <param name="source" value="Vertigo.SlideShow.xap" />
        <param name="initParams" value="ConfigurationPRovider=LightTheme,DataProvider=XmlDataProvider;Path=Data.xml" />
        <param name="onerror" value="onSilverlightError" />
        <param name="minRuntimeVersion" value="2.0.31005.0" />
        <param name="autoUpgrade" value="true" />
        <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>

The xap-file, Data.xml and the images are at the moment within the same directory.

Has anyone an idea what is wrong?

Thanks Chris