I have an application page which is loaded into a modal and it contains 2
The first control (Categories) is linked to a custom term set, the second (Keywords) is linked to the enterprise keywords term set. The first control works fine, but the one linked to enterprise keywords has a problem with it's "Select: Add Terms" modal dialog, opened by clicking the tag icon - The keywords are correctly listed in that dialog but the select button does nothing and double clicking an item in the modal does nothing either:
Typing in a value to the control itself does however work correctly:
The TaxonomyWebTaggingControl is added to the page as follows:
<Taxonomy:TaxonomyWebTaggingControl id="KeywordPicker" runat="server" />
and then wired up in the code behind:
TermStore termStore = taxonomySession.TermStores[MyConstants.TaxonomyTermStoreName]; TermSet keywordTermSet = termStore.KeywordsTermSet; KeywordPicker.SSPList = termStore.Id.ToString(); KeywordPicker.TermSetList = keywordTermSet.Id.ToString(); KeywordPicker.IsMulti = true; KeywordPicker.AllowFillIn = true; KeywordPicker.IsAddTerms = true; KeywordPicker.IsSpanTermSets = false; KeywordPicker.IsSpanTermStores = false; KeywordPicker.IsDisplayPickerButton = true; KeywordPicker.ExcludeKeyword = false;
I'd like users to be able to use the modal dialog to choose keywords as well as type them in manually. Any ideas how to fix this?