Completed
Last Updated: 26 May 2015 08:46 by ADMIN
ADMIN
Vessy
Created on: 13 May 2015 08:20
Category: ImageGallery
Type: Bug Report
1
The ClientImageLoaded event is not raised for the first image when DisplayAreaMode is set to Image
The ClientImageLoaded client-side event doesn't fire for the first loaded image when DisplayAreaMode="Image".

The issue can be reproduced for the following configuration:

        <telerik:RadImageGallery runat="server" Width="600px" Height="480px" DisplayAreaMode="Image">
            <ClientSettings>
                <ClientEvents OnImageLoaded="imageLoaded" />
            </ClientSettings>
            <ThumbnailsAreaSettings ThumbnailWidth="140px" Width="140px" Position="Left" ScrollOrientation="Vertical" />
            <Items>
                <telerik:ImageGalleryItem ImageUrl="images/Image1.png"/>
                <telerik:ImageGalleryItem ImageUrl="images/Image2.png" />
                <telerik:ImageGalleryItem ImageUrl="images/Image3.png" />
                <telerik:ImageGalleryItem ImageUrl="images/Image4.png" />
            </Items>
        </telerik:RadImageGallery>
        <script>
            function imageLoaded(imageGallery, args) {
                alert(args.get_image().src);
            }

        </script>
0 comments