M
Mick
Hi,
Got a repeater which display question answers and which contains a
placeholder.
In the ItemDataBound Event, I insert a Radio Button for each answer and set
their GroupName with the Question Id.
Anyway, when I display my aspx page, I can check ALL radio buttons at same
time !
What am I doing wrong?
*****
PlaceHolder plh = (PlaceHolder)CurrentItem.Controls[1];
System.Web.UI.WebControls.RadioButton NewRadio = new RadioButton();
NewRadio.ID="ClientCompanyTestQcmQuestionRadioPropositon";
NewRadio.GroupName=CurrentP.Question_PropositionParent.Id;
NewRadio.Checked= false;
plh.Controls.Add(NewRadio);
*****
Thanks for help ^^
Got a repeater which display question answers and which contains a
placeholder.
In the ItemDataBound Event, I insert a Radio Button for each answer and set
their GroupName with the Question Id.
Anyway, when I display my aspx page, I can check ALL radio buttons at same
time !
What am I doing wrong?
*****
PlaceHolder plh = (PlaceHolder)CurrentItem.Controls[1];
System.Web.UI.WebControls.RadioButton NewRadio = new RadioButton();
NewRadio.ID="ClientCompanyTestQcmQuestionRadioPropositon";
NewRadio.GroupName=CurrentP.Question_PropositionParent.Id;
NewRadio.Checked= false;
plh.Controls.Add(NewRadio);
*****
Thanks for help ^^