Hello Team,
I have a RadGridView with checkbox column and also have another checkbox on header for selecting all checkbox. One user select header checkbox all the checkboxes in the rows should be selected. Here is my code
for (int j = 0; j <= ChecklistOfEditLoadItems.Count; j++)
{
GridViewRow row =
this.editload.ItemContainerGenerator.ContainerFromItem(ChecklistOfEditLoadItems[j]) as GridViewRow;
if (row != null)
{
TruckInventorySolution s = row.Item as TruckInventorySolution;
CheckBox ab = row.FindChildByType<CheckBox>();
if (row.IsEnabled == false || s.IsCommitted == true)
{
ab.IsChecked = false;
}
else
{
ab.IsChecked = true;
}
}
}
but this process is very very slow.. Please help to solve this problem.
Thanks,
Sravanthi