Overview
TaxonomyWebTaggingControl represents a generic Web control for picking managed metadata terms.
During initialization two properties are mandatory to bind this control with Managed Metadata Service (MMS):
Below is presented example how to initialize it
Country picker
Let us consider the case when not all terms for the term set should be shown but a subset only. Assume we have the following structure for the countries:
- the first level is the continents
- the second level is the countries
and our goal to display countries in TaxonomyWebTaggingControl only for selected continent as shown below
This could be achieved by setting AnchorId property for TaxonomyWebTaggingControl control that allows to specify ID of parent Term for any valid value in control.
Implementation
Country picker allows to select continent/country from Countries term set.
Depending on the selected continent only countries specific for continent are shown in TaxonomyWebTaggingControl control
The code below contains Country Picker implementation:



Pingback: Using SharePoint TaxonomyWebTaggingControl control: Access and manipulate from client side | Yet Another SharePoint Blog