You have to add any dynamic controls in page_init if you want their values on postback.
For example:
void Page_Init(object Sender, System.EventArgs e)
{
var oList = new CheckBoxList();
// Populate the values in the list
this.Controls.Add(oList);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…