Author: isunshine | Posted on: 8/17/2009 3:16:34 PM | Views : 338

I have a checkboxlist. When I check item(s) and hit a button, all those items' Selected properties are still set to false. Here's my code: 
private void btnShow_Click(object sender, System.EventArgs e)
{
string strchklist="";
foreach (ListItem li in CheckBoxList1.Items )
{
if (li.Selected )
{
strchklist += li.Text + " " ;
}
}
}
I don't think there's a problem in this Click method...  Can anyone shine some light on this weird problem?

...

Go to the complete details ...