Dynamic Content ItemDataBound

Posted by Community Admin on 04-Aug-2018 09:18

Dynamic Content ItemDataBound

All Replies

Posted by Community Admin on 21-May-2015 00:00

I want to .GetValue of a dynamic content item in the itemdatabound event handler.

 I've tried to cast like this:

DynamicContent testimonialItem = (DynamicContent)e.Item.DataItem;

But this doesn't get give me the .GetValue and .SetValue options?

Posted by Community Admin on 21-May-2015 00:00

You need to include this:

using Telerik.Sitefinity.Model;
 ​

Posted by Community Admin on 21-May-2015 00:00

Thank you that did it.

This thread is closed