How I can loop through all row of my grid and detect only row with checkbox column checked ?
i use this solution and got error :
-------------------------------------------------------------------------------------------------------
Error:
"System.NullReferenceException: 'Object reference not set to an instance of an object.'Telerik.WinControls.UI.GridViewCellInfo.Value.get returned null."
-------------------------------------------------------------------------------------------------------
Code:
IList<GridViewRowInfo> gridRows = new List<GridViewRowInfo>();
foreach (GridViewRowInfo rowInfo in radGridView.ChildRows)
{
bool isChecked = (bool)rowInfo.Cells["CheckboxColumn"].Value;
if (isChecked == true)
{
gridRows.Add(rowInfo);
}
}