5 Answers, 1 is accepted
0
Hello An,
You can achieve the requested functionality using the playSlideshow method:
In addition, you can use the SlideshowSlideDuration property to control the time interval:
http://docs.telerik.com/devtools/aspnet-ajax/controls/imagegallery/functionality/animations#slideshow
And you can use this property to restart the slideshow after it ends:
Hope this helps. Please give it a try and let me know about the result.
Regards,
Eyup
Telerik
You can achieve the requested functionality using the playSlideshow method:
Copy Code
Copy Code
Copy Code
Copy Code
function
pageLoad() {
$find(
'<%=RadImageGallery1.ClientID%>'
).playSlideshow();
}
In addition, you can use the SlideshowSlideDuration property to control the time interval:
http://docs.telerik.com/devtools/aspnet-ajax/controls/imagegallery/functionality/animations#slideshow
And you can use this property to restart the slideshow after it ends:
Copy Code
Copy Code
<
telerik:RadImageGallery
...
LoopItems
=
"true"
>
Hope this helps. Please give it a try and let me know about the result.
Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
An
Top achievements
Rank 1
answered on 03 Nov 2015, 12:26 PM
Hello Eyup,
That did it, thank you. Can I start the RadImageGallery from the Server side, like from the Page_Load method?
Thanks.
An
0
Hi An,
As the slideshow is performed on the client you need to use client-side logic to start it. There is no server-side property that enables the slideshow to be started automatically.
Regards,
Viktor Tachev
Telerik
As the slideshow is performed on the client you need to use client-side logic to start it. There is no server-side property that enables the slideshow to be started automatically.
Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0
Kofi
Top achievements
Rank 1
answered on 30 May 2016, 11:42 AM
where do i put the javascript function to autostart the slideshow?
i have an imagegallery on a master page.
i want to autoplay the slideshow when the content page loads
0
Hello Kofi,
You can call the playSlideShow() method in the pageLoad() client-side event handler. It is raised automatically after every full or partial postback.
If you would like additional information reberding pageLoad() you would find the following article interesting.
Regards,
Viktor Tachev
Telerik
You can call the playSlideShow() method in the pageLoad() client-side event handler. It is raised automatically after every full or partial postback.
If you would like additional information reberding pageLoad() you would find the following article interesting.
Regards,
Viktor Tachev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.