This is a migrated thread and some comments may be shown as answers.

Radio button un selecting in Rad Grid Item template.

1 Answer 107 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 1
Sunil asked on 01 Sep 2014, 12:09 PM
i have a plain asp radio button in Rad Grid and Checked property is set as "true" in aspx.

i am not changing the radio button selection neither code behind nor java script.

when i bind data to grid in page load then radio button is appearing as selected but after re-bind data through Ajax manager call then this radio button is getting un-selected.

i have a asp check box also like radio button but its not un-selected. but what went wrong with radio button alone?

does any one came across this issue.

Appreciate your help.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Sep 2014, 11:18 AM
Hi Sunil,

Although it is not related to the RadioButton issue, can you verify that you are not using DataBind() to bind the grid? Note that performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations.  Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
Declarative DataSource
Advanced Data Binding


As for the described problematic behavior, I've created a sample RadGrid web site to test it. On my side AJAX requests do not affect the state of the buttons. Please run the attached application and instruct me the exact steps I need to follow to reproduce the issue.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Sunil
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or