Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example 1. Setting TaxonomyWebTaggingControl control value
//Example 1. Setting TaxonomyWebTaggingControl control value during event (page load, button click and etc.)
function initCountryTaggingControl() {
var countriesControlId = "ctl00_PlaceHolderMain_ctl03";
var continentTermValue = "Africa|43f3b1e7-e40c-45d2-a613-88643668d373";
setTaxonomyControlObjectValue(countriesControlId, continentTermValue);
}
ExecuteOrDelayUntilScriptLoaded(initCountryTaggingControl, 'ScriptForWebTaggingUI.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment