Field with the Last comment date in the News widget

Posted by Community Admin on 04-Aug-2018 00:35

Field with the Last comment date in the News widget

All Replies

Posted by Community Admin on 17-Feb-2011 00:00

Actually i want to add a field with the last comment date in the news widget, but i don't find a field in the widget editor that help me. Could you help me please?

Posted by Community Admin on 17-Feb-2011 00:00

Hi Luis,

We do not have a filed that can show you the last comment data. This could be done with a custom control.

You can subscribe for Pre_Render of RadListView and there you can get the data item which is "Content" object. The Content object has a property Comments which returns IList<Comment>. You can get the comment on the first index and check its DateCreated.

All the best,
Ivan Dimitrov
the Telerik team

This thread is closed