Retrieving unique values from List

Posted by Community Admin on 04-Aug-2018 15:05

Retrieving unique values from List

All Replies

Posted by Community Admin on 06-Dec-2016 00:00

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

This thread is closed