예제 #1
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            for (int i = 0; i < Count; i++)
            {
                TagsRow row = new TagsRow(this);
                row.ID = "row" + i;
                containersTable.Controls.Add(row);
            }
        }
예제 #2
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            for (int i = 0; i < Count; i++)
            {
                TagsRow row = new TagsRow(this);
                row.ID = "row" + i;
                containersTable.Controls.Add(row);
            }
        }
예제 #3
0
        public void BindTo(IList <AppliedTags> selectedTags)
        {
            Count = selectedTags.Count;
            EnsureChildControls();

            int index = 0;

            foreach (AppliedTags change in selectedTags)
            {
                TagsRow row = containersTable.Controls[index++] as TagsRow;
                row.BindTo(change.Group);
                row.Select(change.Tags);
            }
        }