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

Forums / Developing with Sitefinity / Single List Item

Single List Item

4 posts, 0 answered
  1. Allen
    Allen avatar
    71 posts
    Registered:
    04 Aug 2007
    20 Aug 2008
    Link to this post
    Is it possible with the new "content view" control to select a single list item (for example a single service from a list of services)?  If so, can you point me to a good "how to" on this.


    Thanks
  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    25 Aug 2008
    Link to this post
    Hello Allen,

    If you would like to display content items in a list, you could do that by editing the Content View properties: open Behavior section of properties, DisplayMode dropdown, choose ItemList.

    If, however, you are asking how to display any type of items in a list by using the Content View control, this is not possible. Unfortunately, the Content View control could not be used as a universal control for listing items. It provides the functionality to display one or more content items. These items should be created by a module that is Generic Content based (such as News, Libraries, etc). Items created by other types of modules, such as services, polls, etc., could not be managed by the Content View control.

    For more on developing controls in Sitefinity - see the following topics in the Developer Manual:

    Hope this helps. Let us know if you need further assistance.

    All the best,
    Sonya
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Allen
    Allen avatar
    71 posts
    Registered:
    04 Aug 2007
    26 Aug 2008
    Link to this post

    Sonya,

    The content list is not exactly what I was asking.  Instead, I was asking how to take a user-defined list item and use that content in a page. So, instead of defining an "expandable" list or a "page" list, how to have a "single item" list.  Is that clearer? 

    From your response, I will assume that this would be a custom development item, but you do have the "single news item" so I thought it reasonable to ask how to mimic that in a user-defined list. 

    Finally, if it is a custom development item, any reference would be appreciated on how I could provide an iterface (like the single news item) where a user could select a particular list item.

  4. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    26 Aug 2008
    Link to this post
    Hello Allen,

    Please excuse me for misunderstanding you. Do I understand correctly that you want to use the Content View control to display a single item, and not a list of items that lead to single items? If this is the case, this is not currently possible but we have added it to our ToDo list. We have also updated your Telerik account for bringing this to our attention.

    I have attached a pluggable module based on Generic Content that includes two controls - Single Item (SingleDemo) and Items List (DemoList). You could use it as a temporary solution until we provide this functionality out of the box.

    Hope this helps. Let us know if we could be of further assistance to you.
     
    All the best,
    Sonya
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered