title: SlideShowServiceMethod not called from Web Service
body: <p>I want to use Image Slidshow on my Webform, and I have been implemented all required stuffs for to do that but still something is wrong here, I don't know exactly but here <code>GetSlides()</code> is not called for any reason.
  Here is the <code>aspx</code> code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>        &lt;asp:ScriptManager ID="ScriptManager2" runat="server"&gt;
              &lt;Services&gt;
                  &lt;asp:ServiceReference path="~/SlideShow.asmx" /&gt;
              &lt;/Services&gt;
          &lt;/asp:ScriptManager&gt;
  
          
               &lt;asp:Image ID="img1" runat="server"
               Height="250px" Width="300px" ImageUrl="~/Images/Slide Show Startup/1.jpg"
  
               /&gt;
          
                  
          &lt;ajaxToolkit:SlideShowExtender ID="SlideShowExtender1" runat="server"
              TargetControlID="img1"
              SlideShowServicePath ="SlideShow.asmx"
              SlideShowServiceMethod="GetSlides"
              AutoPlay="true"
              Loop="true" PlayInterval="500"&gt;
  
          &lt;/ajaxToolkit:SlideShowExtender&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and here is the <code>asmx</code> code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;%@ WebService Language="C#" Class="SlideShow" %&gt;
   
  using System;
  using System.Web;
  using System.Web.Services;
  using System.Web.Services.Protocols;
  using System.Web.Script.Services;
  
  [WebService(Namespace = "http://tempuri.org/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  [ScriptService]
  public class SlideShow : System.Web.Services.WebService
  {
      [WebMethod]
      public static AjaxControlToolkit.Slide[] GetSlides()
      {
          AjaxControlToolkit.Slide[] Slides = new AjaxControlToolkit.Slide[2];
          
          Slides[0] = new AjaxControlToolkit.Slide("Images/1.jpg", "One", "Description 1");
          Slides[1] = new AjaxControlToolkit.Slide("Images/2.jpg", "Two", "Description 2");
  
          return Slides;
      }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>All paths are correct.</p>