I have several checkboxes in contract detail and I want to enable and disable (and read only) some of them based on another checkbox. I have a C# snipped action item code behind the checkbox to enable and disable the other checkboxes, but it's not working: they are always enabled. I cannot see the readonly property while coding. I'm using Infor CRM 8.1. What I must change to have the other checkboxes disabled and read only? Thanks.
if (chkOption1.Checked)
{
chkOption2.Enabled = false;
//chkOption2.ReadOnly = true;
chkOption3.Enabled = false;
//chkOption3.ReadOnly = true;
}
else
{
chkOption2.Enabled = true;
//chkOption2.ReadOnly = false;
chkOption3.Enabled = true;
//chkOption3.ReadOnly = false;
}