I am using below code to check only one radio button which is in gridview item template. But it allow multiple selection as CheckBoxes.
My code:
Please help me.
Thanks !
Pankaj Singh
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
Kotti 07 reputationPosted Aug 12, 2009, 7:12 AM EDT
Get the value by
string strvalue=Request.Form("rbname");
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 12, 2009, 7:15 AM EDT
Can you Post the Code you are using for Checking the Check Box ? it will help me to rectify your problem correctly :)
Master BillaRank #2,229 · 630 reputationPosted Aug 12, 2009, 7:58 AM EDT
Yes you need write code like this way to allow only one radionbutton select to at a time.
Just add HTML Control instead of the ASP radio button
Here sample code
/>
value='<%# Eval("YourCoumnName") %>' />
Thank you