Hi
I have 4 rows in a repeater. Each row has 5 Radio Button
I want when user submit it should check that user has checked Radio Button in each row.
Thanks
Hi
I have 4 rows in a repeater. Each row has 5 Radio Button
I want when user submit it should check that user has checked Radio Button in each row.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Gajendra JangidRank #157 · 14.9K reputationPosted Mar 13, 2022, 4:46 AM EDT
Nisha RegilRank #1,956 · 748 reputationPosted Mar 14, 2022, 4:10 AM EDT
On submit you will need to write this code
foreach (RepeaterItem ri in Repeater1.Items)
{
RadioButton rb = (RadioButton)ri.FindControl("RadioButton1");
if (rb.Checked)
Response.Write(rb.ClientID);
}