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

Forums / Developing with Sitefinity / Add an Image thumbnail to News List template

Add an Image thumbnail to News List template

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    27 Feb 2011
    Link to this post
    Hi Team,

    I searching to add a image thumbnail in the News List template near Title. I have performed this is past versions but in this case is a Template Client side. I have added Thumbnail in the loaded items but i need some help to add the image, the dynamic link is here. Can you point me in the right way ?. Need some overriding to use the dynamic link to an image before to expose to template. Thanks.

    <telerik:ClientTemplate Name="Thumbnail" runat="server">
                <asp:Image ID="Thumbnail" ImageUrl="{#MetaFields.Thumbnail#}" runat="server" />
    </telerik:ClientTemplate> 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    01 Mar 2011
    Link to this post
    Hello Pierre,

    Inside RadGrid_RowDataBound client side function you can access the column - columns[i].get_element().UniqueName where UniqueName is "Tumbnail". Then you need to implement a client side method to replace the dynamic url.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered