Author: mdunten | Posted on: 6/16/2010 10:54:40 AM | Views : 335

On my server side code I create a list of radio buttons with a loop:


RadioButtonList radBtnList = new RadioButtonList(); radBtnList.Items.Add(new ListItem("Delete", "1")); radBtnList.Items.Add(new ListItem("Keep", "0")); radBtnList.ID = "ftp://***********/" + link; radBtnList.AutoPostBack = true; radBtnList.RepeatDirection = RepeatDirection.Horizontal; Panel1.Controls.Add(radBtnList);

The buttons are set to auto post back.
On page_load I can get the ID of the radio button that was clicked with:
Request.Form["__EVENTTARGET"]

Now I would like to reference which list item was selected?
Any ideas?
>Thanks

...

Go to the complete details ...