Ajax Slideshow causing full page postbacks on its own

Last post 07-06-2009 1:40 AM by Vince Xu - MSFT. 3 replies.

Sort Posts:

  • Ajax Slideshow causing full page postbacks on its own

    07-02-2009, 10:01 AM
    • Member
      26 point Member
    • jjmonty
    • Member since 08-05-2007, 12:44 AM
    • Posts 98

    I am using the ajaxslideshowextender for a simple slideshow. I am analysing web traffic with Fiddler and I am seeing that the webpage hosting the slideshow is posting back every 25 seconds! When I comment out the slideshow code the page stops posting back, so it definately has something to do with the slideshow. Does anyone have any ideas why this could be happening?

  • Re: Ajax Slideshow causing full page postbacks on its own

    07-02-2009, 11:05 PM

     AutoPlay - Setting this to true will play the slideshow automatically on render.

    PlayInterval - Interval in milliseconds between slide transitions in play mode.

    I guess your PlayInterval is set to 25 seconds

    http://www.asp.net/AJAX/AjaxControlToolkit/Samples/SlideShow/SlideShow.aspx

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Ajax Slideshow causing full page postbacks on its own

    07-03-2009, 7:31 PM
    • Member
      26 point Member
    • jjmonty
    • Member since 08-05-2007, 12:44 AM
    • Posts 98

    I understand the properties, but how do i stop the postbacks? It only needs the slidedeck once.

  • Re: Ajax Slideshow causing full page postbacks on its own

    07-06-2009, 1:40 AM
    Answer

     Hi,

    You can define the following code to disable the timer to do tick.

    $find('behavior')._timer.set_enabled(false);


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)