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

On scrolling down in the radgrid top radiobutton is unchecking

1 Answer 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dilip
Top achievements
Rank 1
Dilip asked on 05 Aug 2013, 05:45 AM
Hi All,

i am facing problem on radio button which is using inside the radgrid, On scrolling down in the radgrid top radiobutton is unchecking , to avoid this i have used enablevirtualisation = false after using this, performance of the application has been reduced, can any one give me solution on this or is there any other way of binding the radiobutton to radgrid. Right now i am binding inside the gridview.celltemplate. 

Thanks,
Dilip L.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 05 Aug 2013, 03:12 PM
Hi Dilip,

Such a behavior would be observed if you work with the visual elements, i.e. GridViewCells to assign the RadioButton's checked value. Since the virtualization of RadGridView is turned on by default, its elements are created when they should be brought into view and they are also reused on scrolling. You can take a look at this article for a reference on UI Virtualization.

To avoid such propeblems, you should work with the bound data item's properties instead.
 

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Dilip
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or