Bummer, I was hoping there was a ReadOnly property for the checkbox.

However, if you are just wanting to display the checked status or not, you
could always use a picture that indicates a checked state, and one that
indicates an unchecked state and just show whichever is appropriate. This
would be much easier then trying to make the checkbox control emulate this
behavior.

To make the checkbox behave the way you are thinking and trapping the event
you would involve writing client side script.

"Mike Lerch"
<mlerchNOSPAMTHANKS@nycap.rr.com> wrote in message
news:am62jv4gs98kjkmpg4cosvn1i94iskl5ls@4ax.com...
> I have a databound webform that is suitable for printing by the
> client. However, I want to keep them from "editing" the data
> ("editing" because it's not getting posted back to the database or
> anything). My thought was to set enabled = "false" on all the
> checkboxes and the handful of checkboxes on the form. However, this
> turns everything gray. Using CSS or strong-naming styles doesn't seem
> to help. In fact, it seems that it might be a function of IE: when
> IEsees disabled="disabled" in the HTML, it seems that it might be IE
> that is changing the color to gray, even though I want it to remain
> black.
>
> So, any thoughts? My goal is to keep users from changing the values
> of checkboxes and textboxes in a web form while having control over
> the styles (essentially making them look like they're enabled).
>
> The only thing I came up with off the bat is making some kind of event
> that traps when the user tries to change something. I can do that,
> but it seems like there should be an easier way!
>
> Lerch