Author: melmendo | Posted on: 12/9/2008 10:07:33 AM | Views : 401

 Hello All,I am creating checkboxlist's dynamically from a database with no problem. My problem is that I need some html in between certain checkboxes in the same checkboxlist. I am adding literal controls and can see the cb.Controls.Count however they never render?First is this possible? I suppose I could use a repeater control, but would require a decent amount of code change on multiple pages. Here is a watered down example.private void createCheckBoxList()
{
// create dynamic checkbox list
CheckBoxList cb = new CheckBoxList();

foreach (DataRow row in ds.Tables[i].Rows)
{
Go to the complete details ...