More in this section

Forums / Developing with Sitefinity / Retrieving unique values from List

Retrieving unique values from List

1 posts, 0 answered
  1. Roshith S
    Roshith S avatar
    0 posts
    Registered:
    05 Sep 2016
    06 Dec 2016
    Link to this post

    Hi,

    I am working on Sitefinty 9.1 . I have created a list content type in Sitefinity. I need to fetch those values from the list. I have done like this:

    List dropDownItems = listManager.GetLists().Where(l => l.Title == "OurProductsChild").FirstOrDefault();

     

     

    I am getting the values, but it is duplicated. ie one for english and one in invariant.  I wanted either english/invariant one. Can anyone tell how to approach this. Thanks

1 posts, 0 answered