New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Start Slideshow automatically

There are occasions when you would like to start a slideshow in RadImageGallery as soon as the page is loaded. This feature can be enabled with just one line of JavaScript. You need to handle the client-side pageLoad() method and call playSlideshow() for the ImageGallery control.

JavaScript
function pageLoad() {
    $find("<%= RadImageGallery1.ClientID %>").playSlideshow();
}

In addition you can also enable looping for the items. This way the slideshow will start over after the last image is displayed. For that you need to set the LoopItems property to true.

See Also

In this article
See Also
Not finding the help you need?
Contact Support