Below is my webservice code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using AjaxControlToolkit;
[WebService]
[System.Web.Script.Services.ScriptService]
public class SlideService : System.Web.Services.WebService
{
[WebMethod()]
public Slide[] getslide()
{
Slide[] s=new Slide[5];
s[0] = new Slide("1.jpg", "desert", "display desert");
s[1] = new Slide("2.jpg", "cat", "display");
s[2] = new Slide("3.jpg", "dog", "display");
s[3] = new Slide("4.jpg", "tiger", "display");
s[4] = new Slide("5.jpg", "lion", "display");
return (s);
}
}
I made settings for slideshowextender also.
Regards
Sridhar Thota.
www.dotnet-sridhar.blogspot.com