Hello,
I have a radgrid in my aspx file that allows for selecting multiple rows with a checkbox. I am using the two properties:
AllowMultiRowSelection="true" and
<ClientSettings EnableRowHoverStyle="true">
<Selecting AllowRowSelect="True"></Selecting>
</ClientSettings>
In my code behind, I populate the grid using a datasource as follows:
CogCustomCompetenciesGrid.DataSource = cl.OrderByDescending(p=> p.ImportanceRating).ToList();
The list used for population consists of objects with multiple properties. One of the properties is a boolean called PreviouslySelected.
Based on whether the PreviouslySelected property is true or false, I need to pre-set the checkmark selection for that particular row.
How do I do this?
I have a radgrid in my aspx file that allows for selecting multiple rows with a checkbox. I am using the two properties:
AllowMultiRowSelection="true" and
<ClientSettings EnableRowHoverStyle="true">
<Selecting AllowRowSelect="True"></Selecting>
</ClientSettings>
In my code behind, I populate the grid using a datasource as follows:
CogCustomCompetenciesGrid.DataSource = cl.OrderByDescending(p=> p.ImportanceRating).ToList();
The list used for population consists of objects with multiple properties. One of the properties is a boolean called PreviouslySelected.
Based on whether the PreviouslySelected property is true or false, I need to pre-set the checkmark selection for that particular row.
How do I do this?