Radgrid Checkbox selection in multiple columns

2 posts, 0 answers
  1. Zain
    Zain avatar
    8 posts
    Member since:
    May 2012

    Posted 11 Oct 2016 Link to this post


    How to get checkbox input in multiple auto generated columns ? picture attached for understanding.

    Few points there

    - number of columns of grid are dynamic depending upon dates filter selection of user. (start date, end date). so i use auto generate columns option to  implement it. is there any better approach for this? 

    - can i  make clientcheckboxcolumn autogenerated ? i have gone through many articles in the forum related to clientcheckboxcolumn selection. 

    - is there any better solution for implementation of this task ? 



  2. Eyup
    Eyup avatar
    3962 posts

    Posted 14 Oct 2016 Link to this post

    Hello Zain,

    You have 2 options to create boolean columns:

    1. GridCheckBoxColumn:
    You can use ItemCreated or ItemDataBound event handler to access the generated checkbox controls:

    And enable them explicitly:

    2. GridTemplateColumn:
    Check the sample at the end of the following section:

    You can also create template columns programmatically:

    I hope this will prove helpful.

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top