This is a migrated thread and some comments may be shown as answers.

RadImageGallery

1 Answer 112 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
jennifer
Top achievements
Rank 1
jennifer asked on 15 Feb 2018, 01:26 AM

I'm trying to find/reference the RADimagegallery ID  within a RadDataList via  PageLoad() javascript.    How do I reference the RadImageGallery control inside a RadDataList to START the slideshow automatically.

 

function pageLoad() {
  

   var parentElement = $get("<%= RentalListingDataList.ClientID%>");
     $find('<%=RadImageGallery1.ClientID%>').playSlideshow();  <=== this errors
 }

Note : I am loading the images from the directory and filename from the database

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 19 Feb 2018, 07:15 AM
Hello Jennifer,

You can use one of the solutions provided here to achieve this requirement:
https://www.telerik.com/support/kb/aspnet-ajax/details/access-telerik-controls-on-client-side

Also, you can check this resource for RadDataForm, which is very similar to RadListView:
https://www.telerik.com/support/code-library/accessing-controls-in-dataform

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ImageGallery
Asked by
jennifer
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or