I have a lightbox setup with an ItemTemplate, I am displaying html text (not images like the data binding examples). I have an asp.net label inside my ItemTemplate that I want to bind the lightbox control to a list of strings and show the string inside of the label. I tried <%# Eval("mypropname")%> inside of the label but get a "Value of type 'System.Web.UI.Control' cannot be converted to 'Telerik.Web.UI.RadLightBoxItem'.
All of the Data* properties exposed server side appear to be specific to displaying images in lightbox. Is there a way to databind a lightbox with a custom item template to a list of strings? If not, is there a way to manually add these items to the lightbox server side?
Thanks!