I have a RadGrid where i disable (e.Item.Enabled = false;) on ItemDataBound depending on some condition.
The grid has a client select column with a checkbox which, on databound, is disabled based on the same condition described above.
CheckBox chkbx = (CheckBox)item["SelectCol"].Controls;
chkbx.Enabled = false;
All of this functionality works fine and is rendered correctly in the browser.
However. my grid allows the user to click anywhere in the row to select the item client side.
The problem is that even the rows that are set as disabled on the ItemDataBound event are selectable and the checkboxes also get marked with a tick.
Surely setting the e.Item.Enabled = false; should not even allow selection on the client?
Any help with work arounds will be very useful.