Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Ajax SlideShow Controller

Ajax SlideShow Controller

Scheduled Pinned Locked Moved ASP.NET
graphicssysadmin
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Ersan Ercek
    wrote on last edited by
    #1

    Dear All, My slide show extender does not work automatically even though defined as follows: <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID" TargetControlID="img1" SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" Loop="true" > </cc1:SlideShowExtender> should I check somewhere else.. please advice it is drawing me crazy...

    A 1 Reply Last reply
    0
    • E Ersan Ercek

      Dear All, My slide show extender does not work automatically even though defined as follows: <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID" TargetControlID="img1" SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" Loop="true" > </cc1:SlideShowExtender> should I check somewhere else.. please advice it is drawing me crazy...

      A Offline
      A Offline
      Anurag Gandhi
      wrote on last edited by
      #2

      Ersan Ercek wrote:

      SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"

      Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.

      Anurag Gandhi.
      http://www.gandhisoft.com
      Life is a computer program and every one is the programmer of his own life.

      E 2 Replies Last reply
      0
      • A Anurag Gandhi

        Ersan Ercek wrote:

        SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"

        Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.

        Anurag Gandhi.
        http://www.gandhisoft.com
        Life is a computer program and every one is the programmer of his own life.

        E Offline
        E Offline
        Ersan Ercek
        wrote on last edited by
        #3

        Dear Anurag, Thanks for the response.. I created the following method in aspx.cs file.. I did not get it is realition with asmx files.. Does it have anything to do with it? [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static AjaxControlToolkit.Slide[] GetSlides() { AjaxControlToolkit.Slide[] imgSlide = new AjaxControlToolkit.Slide[4]; imgSlide[0] = new AjaxControlToolkit.Slide("images/1.jpg", "Autumn", "Autumn Leaves"); imgSlide[1] = new AjaxControlToolkit.Slide("images/2.jpg", "Creek", "Creek"); imgSlide[2] = new AjaxControlToolkit.Slide("images/3.jpg", "Landscape", "Landscape"); imgSlide[3] = new AjaxControlToolkit.Slide("images/4.jpg", "Dock", "Dock"); return (imgSlide); } It does not throw any exception. Why do you think it happens=

        1 Reply Last reply
        0
        • A Anurag Gandhi

          Ersan Ercek wrote:

          SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"

          Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.

          Anurag Gandhi.
          http://www.gandhisoft.com
          Life is a computer program and every one is the programmer of his own life.

          E Offline
          E Offline
          Ersan Ercek
          wrote on last edited by
          #4

          Dear Anurag, Well I tried a sample code, also it did not work.. do you think it could have something to do with my AjaxToolkit version?

          A 1 Reply Last reply
          0
          • E Ersan Ercek

            Dear Anurag, Well I tried a sample code, also it did not work.. do you think it could have something to do with my AjaxToolkit version?

            A Offline
            A Offline
            Anurag Gandhi
            wrote on last edited by
            #5

            Do other controls of the sample code are working on your system? if not, then, you may try re-installing Ajax Toolkit. If yes, Try to debug the code and find out what error it is throwing/ where it got struck.

            Anurag Gandhi.
            http://www.gandhisoft.com
            Life is a computer program and every one is the programmer of his own life.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups