/// <summary> /// Fills the template list with applicable templates. /// </summary> protected void FillTemplateList() { TemplateList.Controls.Clear(); List <Item> templateSubitems = TemplateUtil.GetTemplateSubitems(this.templateFolder, this.masterDb); foreach (Item item in templateSubitems) { ChecklistItem clItem = new ChecklistItem(); clItem.ID = Control.GetUniqueID("I"); clItem.Value = item.ID.ToString(); clItem.Header = item.Name; TemplateList.Controls.Add(clItem); } TemplateList.CheckAll(); }
protected void OnBtnCheckAll() { ClFields.CheckAll(); }