1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Field with the Last comment date in the News widget

Field with the Last comment date in the News widget

2 posts, 0 answered
  1. Enrique Coronel
    Enrique Coronel avatar
    17 posts
    Registered:
    10 Jul 2008
    17 Feb 2011
    Link to this post
    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?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    17 Feb 2011
    Link to this post
    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
2 posts, 0 answered