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

Forums / Developing with Sitefinity / List categories and display info

List categories and display info

5 posts, 0 answered
  1. Ancuta Me
    Ancuta Me avatar
    43 posts
    Registered:
    26 Apr 2010
    12 Oct 2010
    Link to this post
    How can I associate content to an item in a list I created?
    I would like to display a list of categories and on click on a category to show content in a box placed at the right of my list.
    Is that possible?

    Thanks.
  2. George
    George  avatar
    204 posts
    Registered:
    05 Sep 2006
    12 Oct 2010
    Link to this post
    Hi there,

    you would need to add a custom meta field to your list and assign the content to that field then you will be able to display the content on the front-end.

    there are a lot of resources that you can use on the subject, just research creating custom meta field in the forum or refer to the developer manual.

    Best,

    George
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Oct 2010
    Link to this post
    Hi Ancuta,

    List module is not a GenericContent based module, so you cannot use custom meta fields. You need a custom persistence class to save the content ID. You could create a dictionary with two parameters - ListItem and IContent ID and get the KeyValuePair.

    Greetings,
    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. Ancuta Me
    Ancuta Me avatar
    43 posts
    Registered:
    26 Apr 2010
    12 Oct 2010
    Link to this post
    Is there a way to do this and also allow the user to control the content for each section?
    If so, could you point me to a tutorial?

    Thank you so much.
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Oct 2010
    Link to this post
    Hi Ancuta,

    Could you provide some more details about your last requirement?

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