I have TaxonomyWebTaggingControl in my SharePoint 2010 application with three term sets:
<Taxonomy:TaxonomyWebTaggingControl ID="myWebTaggingControl"
AllowFillIn="True" IsMulti="True" IsDisplayPickerButton="False"
ContainerId="mycontenerID" runat="server">
</Taxonomy:TaxonomyWebTaggingControl>
In code behind I bind data to control:
var sspIds = new List<Guid> {TermStore.Id, TermStore.Id, TermStore.Id};
var termSetIds = new List<Guid> { TermSet1.Id, TermSet2.Id, TermSet3.Id};
myWebTaggingControl.SspId.AddRange(sspIds);
myWebTaggingControl.TermSetId.AddRange(termSetIds);
myWebTaggingControl.Text = text;
where text is term (label|guid;)
When I open the page, the text in control is ';' (should display label of term). This is works correctly when I have one term set and one termstore:
var sspIds = new List<Guid> {TermStore.Id};
var termSetIds = new List<Guid> { TermSet1.Id};
How can I bind text to this control to work correctly with three term sets?