Private Sub CountCheckedRows() Dim iCount As Integer = 0 For i = 0 To Me.dgvBhukaBag.MasterTemplate.DataView.ItemCount - 1 If Not IsDBNull(Me.dgvBhukaBag.Rows(i).Cells(0).Value) Then If Me.dgvBhukaBag.Rows(i).Cells(2).Value = True Then iCount += 1 End If Next MessageBox.Show("Checked CheckBox: " & iCount) End Sub
You can do some modification according to your needs.
Thanks & Regards
Dess | Tech Support Engineer, Principal
Telerik team
commented on 14 Nov 2022, 05:32 AM
Hi, Nandan. Thank you for sharing your solution with the community. I would recommend you to use the RadGridView.Rows collection for iterating the records inside the grid. Then, indeed, it is necessary to check the respective cell's value and see whether it is toggled.