I want to make a checkBox that is both
Checked = true
and
Enabled = false
How can I do this?
I wrote this code, but it removes Checked
from the checkBox
chkDecreaseAbsenceFromExtraWork.Enabled = !SecurityManager.HasAccess(Session, AccessCode.EditDecreaseAbsenceFromExtraWorkIsImpossible);