I am having an issue with a RadRotator user control that I created. Basically whenever I run the following bit of code, all images in the gallery appear twice. I have the same issue with a similar query for the news items.
var images = App.WorkWith().Albums().Where(a => a.Title == title).Get().FirstOrDefault().Images;
foreach (Telerik.Sitefinity.Libraries.Model.Image i in images)
Hashtable ht = newHashtable();
Thanks for your help,
Posted by Community Admin on 11-Apr-2011 00:00
You need to get only the Live status of the images - you can specify this in your code like this: