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
Mar 25, 2008 18:35
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
Mar 25, 2008 18:46
Vote:
 
And, use "#" instead of "=". Remember to databind your list.
#15232
Mar 25, 2008 18:46
Vote:
 
Thank you lots. It works perfectly.
#15233
Mar 25, 2008 18:46
* 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.