Get to get/set Input control values created in code-behind

Engefarko

New Member
I have a number of Input (textbox) controls that are created in the codebehind as part of a dynamic RadiobuttonList control (so that a textbox is next to a radiobutton):\[code\] RadioButtonList radioOption = new RadioButtonList(); radiobuttonlist.Items.Add(new ListItem(dt1.Rows[9].ToString() + " <input id=\"" + name + "\" runat=\"server\" type=\"text\" value=http://stackoverflow.com/"Enter text\" />")\[/code\]My question is, how do I access the input text in order to set or get it's value?There are in total around 10 different input controls created as part of a loop.Any ideas would be greatly appreciated!!!!
 
Back
Top