Hello,
I am using an html table to populate rows in item template of
radcombobox. my first column in html table is checkbox and later are
label controls. How can I access which checkboxes are checked on a
button click? I am using this code but, it only returns 1 row:
Table mytbl = (Table)ddnInfo.Items[0].FindControl("tblinfo");
Response.Write(mytbl.Rows.Count.ToString());
foreach (TableRow row in mytbl.Rows)
{
var checkBox = (CheckBox)row.Cells[0].Controls[0];
if (checkBox.Checked)
{
Response.Write("checked");
}
}