Unplanned
Last Updated: 21 Jul 2017 13:36 by ADMIN
Unplanned
Last Updated: 28 Mar 2019 15:05 by ADMIN
When you have 3 documents with picture, and texts in all - the texts are shows as expected. but when one of them does not have text and title, the loop of the gallery stop showing it for the other pictures.

<telerik:RadImageGallery ID="RadImageGallery1" runat="server">
    <ThumbnailsAreaSettings ThumbnailWidth="140px" Width="140px" Position="Left" ScrollOrientation="Vertical" />
    <Items>
        <telerik:ImageGalleryItem ImageUrl="Images/Yoga.jpg" Title="Title 1" />
        <telerik:ImageGalleryItem ImageUrl="Images/Swimming.jpg" Title="Title 2" />

            <%-- Title container disappears here and will not show up with the rest of the items --%>
        <telerik:ImageGalleryItem ImageUrl="Images/Surfing.jpg" /> 

        <telerik:ImageGalleryItem ImageUrl="Images/Snowboarding.jpg" Title="Title 4" />
        <telerik:ImageGalleryItem ImageUrl="Images/Skiing.jpg" Title="Title 5" />
    </Items>
</telerik:RadImageGallery>
Unplanned
Last Updated: 23 Feb 2023 12:46 by ADMIN
Created by: Aaron
Comments: 1
Category: ImageGallery
Type: Bug Report
0

Hi,

I have an image gallery control that gets the image items added to it at runtime. After the page is done loading, the default main image is blank. How do I programmatically set the main image to the first image?

I've attached a screenshot of the function that adds the image items as well as the finished rendered page result.

Thanks

1 2