How to make checkbox "read-only"?

How to make checkbox "read-only"?

am 23.04.2008 12:29:03 von ascll

Hi,

Do you guy know how to make a ASP.net 2.0 checkbox "read-only"?

Thanks.

Re: How to make checkbox "read-only"?

am 23.04.2008 13:38:32 von mark

"ascll" wrote in message
news:u55lczSpIHA.1580@TK2MSFTNGP06.phx.gbl...

> Do you guy know how to make a ASP.net 2.0 checkbox "read-only"?

Checkboxes don't have a read-only property, so you can do two things:

1) Disable the checkbox.

2) Create two image files, e.g. checked.bmp and unchecked.bmp, and use those
instead.


--
Mark Rae
ASP.NET MVP
http://www.markrae.net