We need to bind RadGrid on clientside. I am doing it using RadClientDataSource and Restful Webservice call. This grid has RadRadioButtonlist. I need to bind this button list to the data coming from database.
Can someone help please how to do bind it on clientside
1 Answer, 1 is accepted
answered on 18 Jun 2018, 01:05 PM
I assume that you are adding RadioButtonList inside a GridTemplateColumn, am I correct? If so, being a server-side control it should be added inside the ItemTemplate of the column and cannot be bound to the ClientDataSource data.
If you want to access the ClientDataSource data of the current row, you have to use ClientItemTemplate and a standard html radio group. In the example below the Option1/Option2/Option3 columns corresponds to the columns from the client-data source that are holding the Radio button list option per each row: