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

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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:
    12 Sep 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