I have label which displays a message depending on if the checkboxlist has items or not. Now the problem is, the code takes into account the previous pageload and not the current one.
What I'm trying to figure out is, if the control is rendering listItems on the page there should be way to catch it in pageload. I've a sqldatasource attached to this checkboxlist. Any suggestions what I'm missing or doing wrong?
if (CheckBoxList1.Items.Count == 0)
"No files in this folder.";