i have create the wizard control , in side this i have create the repeater control.this repeater control has three radio buttons.all are created with dynamically.I want to fire a radio button checkedchange event.
find the code:
**Panel objPanel = (Panel)Wizard1.WizardSteps[Wizard1.ActiveStepIndex].Controls[5];
Repeater reptrAddQuestion = new Repeater();
reptrAddQuestion.ID = "reptrAddQuestion" + (count-1);
string[] obj = new string[2];
reptrAddQuestion.Visible = true;
reptrAddQuestion.DataSource = obj;
reptrAddQuestion.DataBind();
reptrAddQuestion.EnableViewState = true;
int controlIdValue = (count - 1) + 1;
for (int index = 0; index <= reptrAddQuestion.Items.Count - 1; index++)
{
RadioButton RdoBtn = new RadioButton();
RdoBtn.AutoPostBack = true;
RdoBtn.ID = "RdoBtn" + controlIdValue.ToString();
RdoBtn.CheckedChanged += new System.EventHandler(RdoBtn_CheckedChanged);
RdoBtn.EnableViewState = true;
reptrAddQuestion.Controls.Add(RdoBtn);
controlIdValue += 1;
}
objPanel.Visible = true;
objPanel.Controls.Add(reptrAddQuestion);**
public void RdoBtn_CheckedChanged(object sender, EventArgs e)
{
}
advance thanks for this help. Regards, Devathidhan.S