This artical describes a problem
They don't give a solution though. I've found a couple solutions like this one
or
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==
ListItemType.AlternatingItem)
{
Label lbl = (Label)e.Item.FindControl("Dig");
if(lbl != null)
lbl.Text = "<input type=radio name='samegroup' value='" +
e.Item.Cells[1].Text + "'>";
}
I was wondering if anyone has a different solution.
Thanks
They don't give a solution though. I've found a couple solutions like this one
or
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==
ListItemType.AlternatingItem)
{
Label lbl = (Label)e.Item.FindControl("Dig");
if(lbl != null)
lbl.Text = "<input type=radio name='samegroup' value='" +
e.Item.Cells[1].Text + "'>";
}
I was wondering if anyone has a different solution.
Thanks