Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have a termset with parent term name "State" and with child term "City". I want to show all child terms "City" in a dropdownlist. Who can I retrive only child terms from this termset?

share|improve this question

1 Answer 1

you need to first finding the termset "State".

for ex: TaxonomySession session = new TaxonomySession(SPContext.Current.Site); // Get a reference to the store TermStore store = session.TermStores[_tTaxonomyField.SspId];

      TermSet _termSet = store.GetTermSet(_tTaxonomyField.TermSetId);

       foreach (Term termSet in _termSet.Terms)
             // all child term found here

hope this help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.