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

Custom Rad List View with radio and list of checkbox inside

1 Answer 184 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Chuong
Top achievements
Rank 1
Chuong asked on 30 Mar 2016, 01:33 PM

hi team,

I have an issue about custom rad list view. One radio button has its lots of check box(s). By default, the first radio is checked (or we can checked any radio button). However, if I scroll by mouse or vertical bar, the check box that we checked before is not checked correctly. Thanks.

Please refer to the link to get my source code : https://www.dropbox.com/s/wvh44iwfv7fqgxz/CustomControl.zip?dl=0

Chuong

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 01 Apr 2016, 12:36 PM
Hello Chuong,

Thank you for writing.

Attached you can find a sample demonstrating how to achieve the desired functionality. Basically, you need to store the checked state in the data object, not in the visual one, as the latter is constantly reused by the control virtualization mechanism. 

I hope this helps.

Regards,
Stefan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
CheckedListBox
Asked by
Chuong
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or