Try our conversational search powered by Generative AI!

Adding a Thumbnail image to a NewsList

Vote:
 
Hello, I'm trying to add a thumbnail inside the NewsList control but I keep getting the thumbnail for the first item over and over instead of the individual one for each item. Can you tell me how to go about that? Might you have a sample? Thanks

" alt="" />
#12998
Apr 05, 2007 15:55
Vote:
 
Hi Victor You need to use the "Container." (the TemplateContainer for the newslist) prefix before CurrentPage to access the instance of the listitem (PageData object) that you whant to use. See below:

#15231
Apr 07, 2007 18:36
Vote:
 
And, use "#" instead of "=". Remember to databind your list.
#15232
Apr 09, 2007 9:20
Vote:
 
Thank you lots. It works perfectly.
#15233
Apr 10, 2007 13:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.