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

Forums / General Discussions / Forum Issue

Forum Issue

4 posts, 0 answered
  1. praba karan
    praba karan avatar
    11 posts
    Registered:
    04 Aug 2009
    10 Aug 2009
    Link to this post
    Hi

    Can i show directly single thread in my home page? If i put single thread in my home page, it does not shows any result. shall i include thread ID  for showing the results? How can i solve?
  2. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    21 Nov 2016
    12 Aug 2009
    Link to this post
    Hi praba karan,

    Unfortunately the "SingleThread" uses the Query string key from "SingleForum" control.That said, it is not possible to have just  "SingleThread" control and make it work.

    Regards,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. Nick
    Nick avatar
    10 posts
    Registered:
    09 Jun 2008
    20 Apr 2010
    Link to this post
    You can't use the Single Thread control, but you can show a single thread based on a URL.

    Link to a single thread
     
    Log in to the sitefinity:
    Create a page called forums.aspx. Drop a forums control onto it.
    Click on Pages
    Click on Forums
    Click on the View live page in a new window link (it's on the top right hand corner of the page)
    Click on the forum where your thread is posted.
    Hover the cursor over the thread link In the status bar of your browser (right at the bottom of the screen) the following text appears
     
    javascript:__dopostback('ctl00$BodyContent$Forums1$ctl00$ctl00$allThreads'$OpenThread$cf0fe325-a451-46c8-a5df-ef3e548b3a17')
     
    The number cf0fe325-a451-46c8-a5df-ef3e548b3a17 is the ID of the thread in the forum
     
    if you add a generic control, and put in a link, set the link to ~/forums.aspx?mode=SingleThread&thread=cf0fe325-a451-46c8-a5df-ef3e548b3a17
     
    It'll go straight to the thread.

    Cheers,
    Nick
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Apr 2010
    Link to this post
    Hi Nick,

    You should better create a custom controls that inherit from SingleThread and SingleForum and set the ID before calling CreateChildControls' base. This will allow you to have separate controls for each thread or forum and place them on a different pages independently.

    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