How to get all row with checkboxcolumn checked

2 posts, 0 answers
  1. Hans
    Hans avatar
    15 posts
    Member since:
    Oct 2007

    Posted 09 Dec 2014 Link to this post

    How I can loop through all row of my grid and detect only row with checkbox column checked ?
  2. Hristo
    Hristo avatar
    1506 posts

    Posted 10 Dec 2014 Link to this post

    Hello Hans,

    Thank you for contacting us.

    You can iterate the ChildRows collection of your grid and access each row as a GridViewRowInfo object. Then you only have to check for the value of  your checkbox column. The code snippet below should help:
    IList<GridViewRowInfo> gridRows = new List<GridViewRowInfo>();
    foreach (GridViewRowInfo rowInfo in radGridView.ChildRows)
        bool isChecked = (bool)rowInfo.Cells["CheckboxColumn"].Value;
        if (isChecked == true)

    Should you have further questions please do not hesitate to contact us.


    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.

Back to Top