Hi Arian, I feel the issue is still with the GroupName property of the radiobutton. If all the radiobuttons belong to the same groupname, you will be able to select only one at a time. Since the datagrid is getting bound at runtime, you need to set the GroupName property of the radiobutton in the OnItemDataBound method. The ItemDataBound event is raised after an item is data bound to the DataGrid control. Here is how you need to do it. In the ItemDataBound event of the datagrid, use the FindControl method to get the control. Typecast the control to a radiobutton and then set the GroupName. This will ensure that all radio buttons belong to the same group. Think this should help you out. Need any help, do post a msg back. Happy Coding
|