RadImageGallery

2 posts, 0 answers
  1. jennifer
    jennifer avatar
    1 posts
    Member since:
    Apr 2011

    Posted 14 Feb 2018 Link to this post

    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

  2. Eyup
    Admin
    Eyup avatar
    3862 posts

    Posted 19 Feb 2018 Link to this post

    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.
Back to Top