Image Gallery is not displaying any Image,

3 posts, 0 answers
  1. Atif
    Atif avatar
    18 posts
    Member since:
    Jul 2015

    Posted 02 Sep 2015 Link to this post

    RadImageGallery is not  displaying any image. 

    <telerik:RadImageGallery ID="rigRMA" runat="server" OnNeedDataSource="rigRMA_NeedDataSource" DataImageField="FILE_PATH" DataThumbnailField="FILE_PATH" DataKeyNames="FILE_PATH" Visible="false"
                  DataTitleField="FILE_NAME" Width="647px" Height="480px" LoopItems="true">
                  <ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
                  <ImageAreaSettings Height="400px" />
    protected void rigRMA_NeedDataSource(object sender, ImageGalleryNeedDataSourceEventArgs e)
               rigRMA.DataImageField = "FILE_PATH";
                rigRMA.DataSource = GetView();

  2. Eyup
    Eyup avatar
    3013 posts

    Posted 03 Sep 2015 Link to this post

    Hello Atif,

    You can check the sample provided in the following article for an actual reference to a programmatically bound image gallery control:

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Atif
    Atif avatar
    18 posts
    Member since:
    Jul 2015

    Posted 05 Sep 2015 in reply to Eyup Link to this post

    Thanks. I solved it by adding a Virtual Path for DataImageField.
Back to Top