Custom Rad List View with radio and list of checkbox inside

2 posts, 1 answers
  1. Chuong
    Chuong avatar
    1 posts
    Member since:
    Mar 2016

    Posted 30 Mar 2016 Link to this post

    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

     

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2893 posts

    Posted 01 Apr 2016 Link to this post

    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.
Back to Top