+1-888-365-2779
Try Now
More in this section

Image Gallery

4 posts, 0 answered
  1. Mansoor
    Mansoor avatar
    52 posts
    Registered:
    29 Jul 2013
    30 May 2015
    Link to this post

     

     Hi,

     I am using "RadRotator - Telerik ASP.NET Rotator" contorl, In this control i want to add my custom sitefinity image library ,so that from that library images will be  rorate . can anyone guide us how and where can i have mention the path.

    Thank you very much.

    Mansoor

     

     

  2. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    Registered:
    09 Dec 2016
    03 Jun 2015
    Link to this post
    Hello Mansoor,

    What you can do is to reference that control in the page's code-behind and set its data source to the desired library. This can be done like so: 

    protected void Page_Load(object sender, EventArgs e)
            {
                // Set RadRotator1 properties here
           
                var librariesManager = LibrariesManager.GetManager();
                var images = librariesManager
                                             .GetImages()
                                             .ToList();

                RadRotator1.DataSource = images;

                RadRotator1.DataBind();
            } 

    Regards,
    Velizar Bishurov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    03 Jun 2015 in reply to Velizar Bishurov
    Link to this post

    You should stop using the RadRotator, it wasn't even good when it came out

     It's been replaced by the ImageGallery control http://demos.telerik.com/aspnet-ajax/image-gallery/examples/overview/defaultcs.aspx

  4. Mansoor
    Mansoor avatar
    52 posts
    Registered:
    29 Jul 2013
    03 Jun 2015 in reply to Steve
    Link to this post

    Hi Steve,

    Thanks for giving reply.

    I want to use this contorl for my sitefinity image library.Here, Images path are mentioning in hardcoded ,instead of that i want to give my image library name ,from that library images will be Rotator.

     

    Realy appreciate ,If you give us one excample for this.Assume that library name is " default" in this library have 4 images.

     

    Thanks

    mansoor

     

     

4 posts, 0 answered