problem with radionbutton in a datagrid
-
hi, today i ahave a new doubt. i have created a datagrid and added radio button in the grid. i have used the following code it works very nicely. but the problem is that while debugging i can select(check) more than one row. it is suppossed to select only one row at a time. can you help me to solve the problem. thanks in advance sebastian
-
hi, today i ahave a new doubt. i have created a datagrid and added radio button in the grid. i have used the following code it works very nicely. but the problem is that while debugging i can select(check) more than one row. it is suppossed to select only one row at a time. can you help me to solve the problem. thanks in advance sebastian
-
You have to use the groupname property of the radio button to achieve that task.
Best Regards, Apurva Kaushal
i have alreday tried it out. but doesn't work. then i have tried to give some id to the radio button like e.item.index=i in the datagrid1_itemcreated event. first time it works but when i click any button any more time it gives the error . please help me.
-
i have alreday tried it out. but doesn't work. then i have tried to give some id to the radio button like e.item.index=i in the datagrid1_itemcreated event. first time it works but when i click any button any more time it gives the error . please help me.
-
thanks a lot. i will go thrugh this
-
thanks a lot. i will go thrugh this
-
hi, today i ahave a new doubt. i have created a datagrid and added radio button in the grid. i have used the following code it works very nicely. but the problem is that while debugging i can select(check) more than one row. it is suppossed to select only one row at a time. can you help me to solve the problem. thanks in advance sebastian
you can also add the javascript with the radio buttons in the datagrid. when any radiobutton checked just check all the rows / items of the datagrid in a loop and deselect other radiobuttons.
Pankaj Gupta (Take it easy)