Author: pklarquist@gmail.com | Posted on: 3/15/2010 12:08:31 AM | Views : 756

So I've used the AJAX Slideshow Extender to create a very bare bones slideshow on the default page of my website.  I have created a page function that returns an array of AjaxControlToolkit.Slide.  When I manually create the array of slides, the slideshow works.  However, when I use a LINQ query to build the array, the Slideshow doesn't display slides.  I don't know what could be going wrong here, as there are no errors listed by Visual Studio, and the page itself loads without any reported error.  Here is my code-behind. (From Devault.aspx.vb:
<System.Web.Services.WebMethod(), System.Web.Script.Services.ScriptMethod()> _ Public Shared Function GetSlides() As AjaxControlToolkit.Slide() 'This commented section will work, and the two slides will rotate. 'Dim MySlides(1) As AjaxControlToolkit.Slide 'MySlides(0) = New AjaxControlToolkit.Slide("../Admin_Upl ...

Go to the complete details ...