jianbo:
To make a checkbox readonly use the following bit of code in the onClick event of the checkbox:
OnClick="if (true == true) return false;"
Of course where the true == true you would put your variable to check against and if it is readonly, the user would not be able to check it.
Hope this helps,
Patrick