dynamically created controls and postback
- by Mark
Hi all,
I have created dynamic controls (Radiobuttonlists) in an asp.net page (c#).
I create them after a button click like this.
RadioButtonList rbl = new RadioButtonList();
c2.Controls.Add(rbl);
//Set properties of rbl
rbl.RepeatLayout = RepeatLayout.Flow;
rbl.ID = string.Format("rbl{0}", item.QuestionID);
rbl.RepeatDirection =…