Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio Buttons Are Not Mutually Exclusive

Status
Not open for further replies.

stsuing

Programmer
Aug 22, 2001
596
US
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
 
That is exactly what I was looking for.

I don't know why microsoft doesn't post a solution to this known bug.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top