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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nisha RegilPosted Mar 14, 2022, 8:10 AM
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);
}
Gajendra JangidPosted Mar 13, 2022, 8:46 AM