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

Forums / General Discussions / Find forum posts

Find forum posts

4 posts, 0 answered
  1. Rakesh
    Rakesh avatar
    72 posts
    Registered:
    11 Jan 2011
    11 Jan 2011
    Link to this post
    Hi,

    I need to list the forum replies with respect to their parent Posts not by parent Thread...
    but how ?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Jan 2011
    Link to this post
    Hello Rakesh,

    In Sitefinity 4.0 we do not have forums module. Which version of Sitefinity you use?
    In 3.x the post replies have only one parent and this is the the thread/first post. All posts are shown by Repeater control in DESC order inside SingleThread.ascx template.

    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. Rakesh
    Rakesh avatar
    72 posts
    Registered:
    11 Jan 2011
    11 Jan 2011
    Link to this post
    Hai Ivan,

    Thanks for your reply.I am using Sitefinity 3.7.Here all the replies are listed on the basis of root thread .Each reply as a single unit with parent post.My question is, is their any way to list the replies on the basis of their parent  reply ?

    am I confusing you....I dont know how to explain it ..
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Jan 2011
    Link to this post
    Hello Rakesh,

    There is no implementation to do this. The IPost object does not have a property which you can use to get the parent sub post . I cannot come up with an elegant solution. You can use ForumManager.GetPosts(this.selectedThreadID, false, true); then sort the list with LINQ by DateCreated and you can get an item from the list, so DateCreated will be your identifier.

    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
4 posts, 0 answered