More in this section

Forums / General Discussions / Generic content list display

Generic content list display

6 posts, 1 answered
  1. Millaneli
    Millaneli avatar
    20 posts
    Registered:
    08 Nov 2010
    16 Dec 2010
    Link to this post
    Hi,

    I created a content type "Generic Content", when I add the widget "Generic content list 'I found all the elements of type" Generic Content ", is not possible to display all list but only a few items?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Dec 2010
    Link to this post
    Hello Millaneli,

    When you open Generic Content List control for editing you can set how many items will be shown per page. This can be done through ItemsPerPage property which you can access from ControlDefinition > Views > GenericContentMasterView
    The default value is 20. If you have more than 20 items and you use the default settings you will not see them in the list.

    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
  3. Millaneli
    Millaneli avatar
    20 posts
    Registered:
    08 Nov 2010
    16 Dec 2010
    Link to this post
    Hi Ivan,

    May be poorly expressed, I have 5 tag (Weahter, airport, flag, plane and Steering). I wanted to use only (Airport and plane). How can I do?

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Dec 2010
    Link to this post
    Hello Millaneli,

    You have to filter the control by tag or category. Please check this forum post Get documents by tag

    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
  5. Millaneli
    Millaneli avatar
    20 posts
    Registered:
    08 Nov 2010
    16 Dec 2010
    Link to this post
    Hello Ivan,

    Yes, that's what I want but how can I find the tag’s ID??

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Dec 2010
    Link to this post
    Hi Millaneli,

    You can get them programmatically

    var taxaList = newList<ITaxon>();
    var manager = TaxonomyManager.GetManager();
    var categoriesTaxonomy = manager.GetTaxonomy(TaxonomyManager.TagsTaxonomyId);
    taxaList.AddRange(categoriesTaxonomy.Taxa);

    or you can query [sf_taxa] table

    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
    Answered
6 posts, 1 answered