radio buttons cannot be grouped in datagrid
Printable View
radio buttons cannot be grouped in datagrid
Hi Prash,
The basic funda to group radio buttons is to ensure that all should have same GroupName property.
For this u can choose following options
1. Find RadioButton controls in Grid by using FindControl function and set GroupName="MyGroup" for each of them in PreRender event
2. Create an ItemTemplate, add RadioButton into it and set its GroupName ot MyGroup
---V V---
Vikas Vaidya
[I]Please mark this post as Thank if u find the answer useful[/I]
Thanks, very good answer.
Also you can paste radio buttons and make it in list and set list property to only one select
Radio buttons should have same GroupName property. Create an ItemTemplate, add RadioButton into it and set its GroupName as you like. There is a control for finding the RadioButton controls in Grid by using FindControl function and set GroupName="gname"