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

Forums / Developing with Sitefinity / Popular Forum Posts

Popular Forum Posts

4 posts, 0 answered
  1. Asit
    Asit avatar
    87 posts
    Registered:
    07 Nov 2009
    07 Sep 2010
    Link to this post
    Hi,

    How can i dispaly popular forum posts in a gridview.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Sep 2010
    Link to this post
    Hi asit pani,

    It depends on what is your criteria for popularity. If this is number of posts in a thread then you can use GetPosts(Guid parentID, bool descending, bool visibleOnly) method to retrieve all posts from a given thread and bind then to a RadGrid.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Asit
    Asit avatar
    87 posts
    Registered:
    07 Nov 2009
    07 Sep 2010
    Link to this post
    Hi,
    Thanks for ur quick reply.

    I need to display the thread title, which has most frequent updated post.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Sep 2010
    Link to this post
    Hi asit pani,

    You can use GetRecentPosts(int start, int max) method and then get the paren of the IPost object which is the thread.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered