I had Ajax slide show and webservice had images which slideshow will display I did all but no image displayed
<webservice>
using System;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
/// <summary>
/// Summary description for WebServiceEvents
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
[System.Web.Script.Services.ScriptService]
public class WebServiceEvents : System.Web.Services.WebService {
public WebServiceEvents () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public AjaxControlToolkit.Slide[] GetSlides()
{
return new AjaxControlToolkit.Slide[] {
new AjaxControlToolkit.Slide("~/images/aboutus_but_bg.jpg", "Blue", "High"),
new AjaxControlToolkit.Slide("~/pics/mhavl/100_0027.jpg", "", ""),
new AjaxControlToolkit.Slide("~/pics/mhavl/100_0032.jpg", "", ""),
new AjaxControlToolkit.Slide("~/pics/mhavl/100_0138.jpg", "", ""),
new AjaxControlToolkit.Slide("~/pics/mhavl/100_0207.jpg", "", "")};
}
}