Hi
I create a checkboxlist from codebehind and Place it in a placeholder, this works fine bu when I try to se certain checkbox items selected its not working. I can see that my condition for making it selected works but its not checked when displayed on the
page. Can someone see why?
ListItem li = new ListItem();
li.Value = qqqq.AnswerID.ToString();
li.Text = qqqq.Header;
if (qqq.MultipleSelectionAllowed)
{
// When used on a checkboxlistlist it does not work
if (CheckAnswer(qqqq.AnswerID, myList))
{
li.Selected = true;
}
chklst.Items.Add(li);
chklst.DataBi ...
Go to the complete details ...